加入收藏 | 设为首页 | 会员中心 | 我要投稿 孝感站长网 (https://www.0712zz.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 资源网站 > 资源 > 正文

html – 这种类型的CSS代码是什么?

发布时间:2020-12-31 06:39:13 所属栏目:资源 来源:网络整理
导读:参见英文答案 css – css coding that I have never seen5个 这是网页中的html代码: div class="3u".../div 它以这种方式用css设计: .33 u,.33 u24,.33 u28 129,.33 u2428 129 { width: 25%; clear: none; } 任何人都可以解释一下这是什么? 我

参见英文答案 > css – css coding that I have never seen5个
这是网页中的html代码:

<div class="3u">

...

</div>

它以这种方式用css设计:

.33 u,.33 u24,.33 u28 129,.33 u2428 129 { width: 25%; clear: none; }

任何人都可以解释一下这是什么?

我熟悉CSS但不是这种类型!

解决方法

从技术上讲,您无法使用数字启动CSS选择器.但是,您可以使用转义字符来解决它看起来像. Check this out.

Leading digits

If the first character of an identifier is numeric,you’ll need to
escape it based on its Unicode code point. For example,the code point
for the character 1 is U+0031,so you would escape it as 00031 or
31 .

Basically,to escape any numeric character,just prefix it with 3 and append a space character ( ). Yay Unicode!

(编辑:孝感站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读