Sign in or register
for additional privileges

Scalar 1 User’s Guide

Custom Styling, page 1 of 10
Previous page on path     Next page on path

 

You appear to be using an older verion of Internet Explorer. For the best experience please upgrade your IE version or switch to a another web browser.

A Brief Introduction to CSS Syntax

Each statement, or rule, in CSS has three main elements: a selector, a property and a value. See below:

(1)

(2)

(3)

#footer{background-color:red;}

selector

property

value

(1) The selector designates the html element of a page or website you wish to stylize—for instance, the html element #footer, designating the footer on Scalar pages.

(2) The property designates the style attribute of the selector you wish to stylize—for instance, the background color of the element #footer.

(3) The value specifies the style attribute of the selector you wish to style—for instance, the color red for the background of the element #footer.

Finally, the property and value are separated by a colon, terminated by a semi-colon and bounded by brackets.

Read more about CSS syntax here.
Comment on this page
 

Discussion of "A Brief Introduction to CSS Syntax"

Add your voice to this discussion.

Checking your signed in status ...

Previous page on path Custom Styling, page 1 of 10 Next page on path