What Is CSS -Cascade Style Sheets? – Get The Full Explanation!
What Is Cascade Style Sheets? (CSS)- Get The Full Explanation!
Cascade Style Sheets- (CSS)- was first developed in 1997 by HSkon Wium Lie ( Picture at right) And Bert Bos of the World Wide Web Consortium , as a way for Web webmasters to define the look and feel of their Web pages.
These unique codes were intended to allow webmasters to separate content from design so that HTML could perform more of the function that it was originally based on- ( the markup of content) without worry about the design or layout.
CSS codes didn’t gain in popularity until around 2001, when Web browsers began using more than the basic font and color aspects of CSS. By now, all modern browsers support all of CSS Level 1, most of Level 2, and some aspects of CSS Level 3.
Designers that don’t use CSS for their development of Web sites are rapidly becoming a thing of the past. And now it is just as important to understand CSS as it is to know HTML.
(CSS) Is an abbreviation stands for Cascading Style Sheet.
CSS- refers to the document itself. Style sheets have been used for document design for many years. They are the technical specifications for a layout, whether print or online.
Print designers use style sheets to insure that their designs are printed exactly to the specifications. A CSS for a Web page serves the same purpose, but with the bonus of added functionality of also telling the Web browser how to render the document that is being viewed.
Cascade is the special part. A Web style sheet is intended to cascade through a series of style sheets just like a river over a waterfall.
Just like in real life- The water in the river hits all the rocks in the waterfall, but only the ones at the bottom affect exactly how the water will flow, and the same is true of the cascade in Web style sheets.
All Web page are affected by at least one style sheet, even if designers don’t apply any styles. This style sheet is the user agent style sheet, the default styles that the Web browser will use to display a page if no other commands are provided.
And if the designer provides other instructions, then the browser needs to know which instructions have the precedence.
The CSS Usage?
It is used to style Web pages. But there is more to it than that. CSS is used to style XHTML and XML markup. It means that anywhere you have XML markup (including XHTML) you can use CSS to define how it will shape.
Also, CSS IS used to define how Web pages should look when viewed in other media than a Web browser. You may create a print style sheet that will define how the Web page should print out and another style sheet to display the Web page on a projector for a slide show presentation.
Why is This Thing- (CSS So Important?)
It is is one of the most powerful tools a Web designer can learn because with it you can affect the entire shape and look of a Website.
A Well written style sheets can be updated quickly and allow websites to change what is prioritized or valued without any changes to the underlying XHTML.
One of the top challenges of CSS is that there is so much to learn. But it doesn’t seem like it. After all, there are only around 60 properties in CSS Level 1 and around 70 in Level 2. if Compared with the number of HTML tags and attributes to learn, that can feel like a mosquito bite up an elephant ass, LOL.
And because CSS can cascade, combine, and browsers interpret the directives differently, CSS is more difficult than plain HTML.
But once you get the feel of it, you’ll see that harnessing the power of CSS will give you more options and allow you to do more and more things with your Websites and other applications.
Hope this was of great help, in case you need further assistance please feel free to drop me a shout in the comment box below.