「CSS」text-decorationで波状の線を定義
書式
text-decoration-style: wavy;
使用例
<style> /*CSSの定義*/ .cft { text-decoration-line: underline; text-decoration-color: red; text-decoration-style: wavy; } </style> <!--divにクラスcftを使用 --> <div class="cft">テスト abc 123</div> <!--pにクラスcftを使用 --> <p class="cft"> this is a test info</p>