CSS Basics – CSS Properties Overview

Con el mazo dando

Introduction

In an earlier post I told you in CSS Basics about Topology of CSS Rules. A web document written in a markup language can use Cascading Style Sheets (CSS) as a style sheet language in order to describe its look and formatting.

logo-css

The basic elements in the definition of CSS stylesheets are the CSS rules. The structure of a stylesheet is a disordered enumeration of rules definitions mixed with comments. A rule definition is composed of two distinct parts:

  • Selector. This is the first part of a CSS rule and lets specify which elements of the related HTML page this rule applies.
  • Declaration block. This is the second part of a CSS rule and is a set of none, one or more declarations enclosed in curly braces.

cssrule

A declaration is the pair formed by a CSS property name and its value. It always

Ver la entrada original 1.497 palabras más

Anuncios

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s