html - 网站上未定义的删除线

标签 html css

This网站显示一些被删除线的文本。据我所知,它在 CSS 或 html 中没有提及。这是它的代码,

<div style="width:100%;height:259px;background-image: url('<?php echo get_template_directory_uri(); ?>/images/child.png');    color: #f3ffcd;">
    <div class="container">
        <div class="row health_text">
        394,000 Children die in Pakistan before their fifth birthdays due to poor access to healthcare facilities.
        </div>
    </div>
</div>

CSS:

font-size: 36px;
    margin: 85px 0;
    font-family: 'Maven Pro', sans-serif;

最佳答案

似乎是 s 标签在做这件事:

它有属性:text-decoration: line-through;

enter image description here

关于html - 网站上未定义的删除线,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35289047/

相关文章:

html - 检测 md 面板何时大于窗口大小

javascript - querySelectorAll 不适用于我的动态模式

javascript - 如何验证 jquery-validation 中的选择框?

Javascript 在手机上缩小

javascript - 不显示时如何为div添加时间延迟

css - 使用 Bootstrap 的响应式布局

javascript - 滚动进度条在 Wordpress 中不起作用

html - 实现最佳实践验证空白字段

javascript - 我怎样才能摆脱 jquery 切换中的那些动画?

javascript - 调试 JavaScript 和 CSS 的最佳方法是什么?