所以我在一个库中看到了这个 CSS 规则集:
So I have seen this CSS rule-set in a library:
[text-uppercase] {
text-transform: uppercase;
}
我不确定如何在 div
<div class="text-uppercase | [text-uppercase]"></div>
我都试过了,但都没有工作.我在 ionic2 中看到了这一点.
I have tried both, but neither are working. I am seeing this in ionic2.
让选择器工作:<div text-uppercase></div>
[text-uppercase] 选择器匹配标签上的属性.
[text-uppercase] selector matches an attribute on a tag.
这篇关于方括号中的 CSS 选择器在 HTML 中选择什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
在javascript中保护随机数?Secure random numbers in javascript?(在javascript中保护随机数?)
img src 链接中的授权标头Authorization header in img src link(img src 链接中的授权标头)
通过 Javascript 发送 Authorization Token BearerSending Authorization Token Bearer through Javascript(通过 Javascript 发送 Authorization Token Bearer)
我必须将令牌存储在 cookie 或本地存储或会话中吗Do I have to store tokens in cookies or localstorage or session?(我必须将令牌存储在 cookie 或本地存储或会话中吗?)
如何在不使用库的情况下在 javascript 中解码 jwtHow to decode jwt token in javascript without using a library?(如何在不使用库的情况下在 javascript 中解码 jwt 令牌?)
:hover:before text-decoration none 没有效果?:hover:before text-decoration none has no effects?(:hover:before text-decoration none 没有效果?)