SC14-Handbook

CSS


What is CSS?

  • Cascading Style Sheets (CSS) is a style sheet language used for describing the look and formatting of a document written in a markup language.
  • CSS is a cornerstone specification of the web and almost all web pages use CSS style sheets to describe their presentation.
  • CSS is most often used to style web pages and user interfaces written in HTML and XHTML, the language can be applied to any kind of XML document, including plain XML, SVG and XUL.

Contents

1.Introduction
2.Selectors
3.Backgrounds
4.Fonts
5.Links
6.Border
7.Margin
8.Padding
9.Dimension
10.Display
11.Positioning
12.Float
13.Pseudo Class
14.Navigation Bar


What is the use of CSS?

  • CSS is designed primarily to enable the separation of document content from document presentation, including elements such as the layout, colors, and fonts
  • CSS can also allow the same markup page to be presented in different styles for different rendering methods, such as on-screen, in print, by voice and on Braille-based, tactile devices.
  • CSS can also be used to allow the web page to display differently depending on the screen size or device on which it is being viewed.
  • The CSS specifications are maintained by the World Wide Web Consortium (W3C).

Video Tutorials

References