Documentos de Académico
Documentos de Profesional
Documentos de Cultura
LENGUAJE DE MARCADO
PROGRAMACIN BAJO WEB
CSS
CSS es un lenguaje que sirve para dotar de presentacin y aspecto, de estilo, a
pginas web (documentos HTML). CSS es un lenguaje que apareci para hacer ms
fciles y con mejor aspecto los desarrollos web. Un desarrollo web comprende
mltiples reas de conocimiento
PROGRAMACIN BAJO WEB
Con CSS el mismo resultado puede lograrse as: body {background-color: #FF0000;}
PROGRAMACIN BAJO WEB
Colores y fondos
Color
color: #ff0000; Ej:leccion2/ejercicio1.html
background-color
background-color: #FC9804;Ej:leccion2/ejercicio2.html
background-image
background-image: url(img1.jpg); Ej:leccion2/ejercicio3.html
background-repeat
Background-repeat: repeat-x
background-repeat: repeat-y Ej:leccion2/ejercicio4.html
background-repeat: repeat
background-repeat: no-repeat
background-attachment- Fijar el Fondo
Background-attachment: scroll Ej:leccion2/ejercicio5.html
Background-attachment: fixed
background-position Ej:leccion2/ejercicio6.html
background Ej:leccion2/ejercicio7.html
PROGRAMACIN BAJO WEB
Colores y fondos
background-position
background-position: top right
Valores:
left top
left center
left bottom
right top
right center
right bottom
center top
center center
center bottom
Ej:leccion2/ejercicio6.html
PROGRAMACIN BAJO WEB
Fuentes
font-family
font-style
font-variant Ej:leccion3/ejercicio1.html
font-weight
font-size
font font: italic bold 30px arial, sans-serif;
PROGRAMACIN BAJO WEB
Pseudo-Clases
pseudo-clase
Una pseudo-clase te permite tener en cuenta diferentes condiciones o eventos al
definir una propiedad para una etiqueta HTML.
Sintaxis
selector:pseudo-class {
property:value;
}
Aplicados a:
Ej:leccion6/ejercicio1.html
PROGRAMACIN BAJO WEB
Modelo de caja
width, height, border, margin, padding, box-sizing
height y width
Ej:leccion7/ejercicio1.html
Ej:leccion8/ejercicio1.html
Ej:leccion8/ejercicio1.html
PROGRAMACIN BAJO WEB
Ej:leccion8/ejercicio1.html
Ej:leccion8/ejercicio1.html
PROGRAMACIN BAJO WEB
Ej:leccion9/ejercicio1.html