What_is_css_cascade

CSS stands for Cascading Style Sheets. It used to render the html , and it is closely-related concept of specificity are mechanisms that control which rule applies when there is such a conflict. Sometime, you will find the CSS what you write is not working well. So we need to understand its working mechanisms. Stylesheets cascade — at a very simple level, this means that the origin, the cascade layer, and the order of CSS rules matter....

September 6, 2022 · 1 min · Theme PaperMod

Getting start CSS

I write the article to record what I learned in CSS How to add css to to my document I can create a file in the project folder and save it as styles.css then add the following line inside tag. <link rel= "stylesheet" href="styles.css"> This <link> element tells the browser that where the stylesheet is . Now I can write some code to styles.css. p { color: blue; } How to add a class Sometimes I need find a way to select a subset of the elements without change the orthrs ....

September 3, 2022 · 1 min · Theme PaperMod