jwenjian / ghiblog

GitHub Issues Blog, powered by GitHub Issues and GitHub Actions
https://1link.fun
350 stars 47 forks source link

The Order of CSS Classes in HTML Doesnt Matter | CSS-Tricks #185

Open jwenjian opened 4 years ago

jwenjian commented 4 years ago

Card The Order of CSS Classes in HTML Doesn’t Matter | CSS-Tricks added the to the 前端/HTML/JS/CSS/vuejs list in the 遇见 board at January 21, 2020 at 09:28AM
 
> But the text in the example above will always be blue no matter what order those CSS classes are in. And that’s because the markup is just reading the CSS in the order that it’s written — the cascade wins in this example. > Because it’s CASCADE Style Sheet. The cascade order is what matters.
 
---
 
View on Trello