无框架无难度
懒得找,自己简易撸一个够用的。
容易扩展。
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SSML Editor</title>
<style>
.tts-sub {
position: relative;
color: pink;
font-weight: bold;
}
.tts-gap {
position: relative;
display: inline-block;
width: 40px;
height: 20px;
font-size: 12px;
color: #999;
}
.tts-gap::after {
content: attr(tts-value);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
}
.tts-sayas {
color: blue;
font-weight: bold;
}
</style>
</head>
<body style=