Home > Web Front-end > HTML Tutorial > CSS Review Journey (1)_html/css_WEB-ITnose

CSS Review Journey (1)_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:41:50
Original
1074 people have browsed it

CSS Overview

  • CSS refers to Cascading Style Sheets
  • Styles define how to display HTML elements
  • Styles are usually stored in style sheets
  • Styles were added to HTML 4.0 to solve the problem of separation of content and presentation
  • External style sheets can greatly improve work efficiency
  • External style sheets are usually stored in CSS
  • Multiple style definitions in the file can be stacked into one
  • CSS syntax

    CSS rules consist of two main parts: the selector, and one or more declarations. Properties are the style attributes you wish to set. Each property has a value, and the property and value are separated by a colon.

    selector{property:value}

    Related labels:
    source:php.cn
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template