css中“~”和“>”是什么意思?

refs:css https://www.cnblogs.com/liuting1314521/p/6185857.htmlhtml   css中“~”是:css3 为全部相同的父元素中位于 p 元素以后的全部 ul 元素设置背景:code p~ul{htm   background:#ff0000;blog }get    <p>快乐生活</p>样式 <ul>生活   <li>生活</li>co
相关文章
相关标签/搜索