CSS selectors ul li a {…} vs ul > li > a {…}

前端 未结 6 1311
执念已碎
执念已碎 2020-12-08 02:57
  1. What is the difference between ul > li > a {...} and ul li a {...} in CSS?
  2. Which one is more efficient and why?
提交回复
热议问题