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

css_selector:General Sibling Combinator

What is General sibling combinator? It used ~ separets two selector, The second selector will match all the element, and the first select and the second selector are children of the same parent element. syntax the_first_elemnt ~ the_second_element { style: properties } There is a example like this. ###Examples p ~ div { color: red; } <div>This is not red.</div> <p>hello world</p> <span>Here is some code.</span> <div> here is a red div!...

September 5, 2022 · 1 min · Theme PaperMod

some css selector pattern usage

, ~, +, space, comma, the usage of these CSS symbols, not only the beginner, even many junior engineers do not understand their usage. If you are a novice, you can still talk about it in the past. After all, you have just come into contact with it, and you have not even come into contact with it yet. It is normal that you do not know or use it....

September 4, 2022 · 2 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

Mozilla:a great tech company

History of Mozilla Mozilla was created out of the ashes of one of the world’s most spectacular software failures. Netscape Navigator, the pioneering web browser company of the late 1990s, had gone from internet king to also-ran in a matter of months. The cause — Microsoft’s aggressive bundling of Internet Explorer — hardly seemed fair. But most industry watchers were resigned to a future where browsers would be free and ubiquitous....

September 2, 2022 · 3 min · Theme PaperMod

Mozilla has abandoned project, How many do you know

Mozilla ia a technical organization, Some great tech such as Rust, HTML5, MDN. Camino Camino is a open source, GUI-based Web browser based on Gecko engine , It designed for the OS X operating system. Camino used Mac-native Cocoa APIs. In 2001, Mike Pinkerton and Vidur Apparao started a project within Netscape to prove that Gecko could be embedded in a Cocoa application. In early 2002 Dave Hyatt, one of the co-creators of Firefox (then called Phoenix), joined the team and built Chimera, a small, lightweight browser wrapper, around their work....

September 1, 2022 · 2 min · Theme PaperMod