没有高亮的是class="lmt__source_textarea_overlay__text"
高亮的是class="lmt__source_textarea_overlay__text lmt__source_textarea_overlay__sentence--active"
多了lmt__source_textarea_overlay__sentence--active
两条css:
.lmt__source_textarea_overlay .lmt__source_textarea_overlay__sentence--active {- color: #0f2b46;
- background-color: #fff;
- visibility: visible !important;
- position: relative;
改background-color: #ef8f8f;就很明显了
还有就是必须得点击到那个句子才能切换,这个也很不方便
标签:__,www,textarea,overlay,sentence,lmt,source,deepl,com From: https://www.cnblogs.com/hhdom/p/16927274.html