CSS Angular Tag <

2019-09-22 10:51发布

问题:

What is the use of using angular tag in css

ie,

.class << span

but Normally we are using these types of tag

body
{
    background-color:#d0e4fe;
}
h1
{
    color:orange;
    text-align:center;
}
p
{
    font-family:"Times New Roman";
    font-size:20px;
}

回答1:

It's not valid CSS. > is the child combinator but < and << are meaningless in selector syntax.



回答2:

One of the uses of angular brackets in CSS is the > as the child selector. (search "css child selectors" for more)