This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
web_design:tablas:css [2021/10/12 16:41] mag created |
web_design:tablas:css [2023/08/16 09:33] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Lección 3 de Desarrollo Web - Tablas ====== | ====== Lección 3 de Desarrollo Web - Tablas ====== | ||
- | ===== Hojas de estilo | + | ===== Hojas de Estilo |
==== Preparacion ==== | ==== Preparacion ==== | ||
- | * Continuar | + | * Continua |
- | * Dado que probablemente haya perdido el trabajo mientras hacía | + | * Por si a caso no tienes |
< | < | ||
< | < | ||
Line 14: | Line 14: | ||
< | < | ||
< | < | ||
- | * To start with, remove all the styles inside tags, so for example, < | + | * Para empezar, elimine todos los estilos dentro de las etiquetas, por ejemplo cambia |
==== CSS ==== | ==== CSS ==== | ||
- | * Each of the design elements we've used are called ' | + | * Cada uno de los elementos de diseño que hemos utilizado se llama " |
- | * They can be separated from HTML by using CSS. | + | * Se pueden separar de HTML mediante |
- | * In jsfiddle, | + | * En jsfiddle, |
- | * Let's make paragraph text blue. | + | * Hagamos que el texto del párrafo sea azul. |
< | < | ||
color: blue; | color: blue; | ||
}</ | }</ | ||
- | * The tag before the brackets | + | * La etiqueta antes de los corchetes |
- | * The rules inside the brackets are applied to all elements that match the target element. In this case, all paragraphs. The heading remains unchanged. | + | * Las reglas dentro de los corchetes se aplican a todos los elementos que coinciden con el elemento de destino. En este caso, todos los párrafos. El título permanece sin cambios. |
- | * This makes CSS very useful for creating a consistent look throughout your website. | + | * Esto hace que CSS sea muy útil para crear una apariencia coherente en todo su sitio web. |
- | * Simply associate the same CSS rules with every page and they' | + | * Simplemente asocie las mismas reglas |
- | * ' | + | * ' |
- | ==== Indent | + | ==== Sangría |
- | * Let's try some other rules that you are familiar with. | + | * Probemos algunas otras reglas con las que esté familiarizado. |
- | * Below < | + | * A continuación |
< | < | ||
color: blue; | color: blue; | ||
Line 39: | Line 39: | ||
}</ | }</ | ||
- | ==== Alignment | + | ==== Alineación |
- | * There are four types of text alignment. You've used < | + | * Hay cuatro tipos de alineación de texto. Ha utilizado |
< | < | ||
- | * Did you add this line inside the brackets on its own line? Did it work as expected? If it didn't, try to work out what you did wrong (eg spelling, missing | + | * ¿Agregó esta línea dentro de los corchetes en su propia línea? ¿Funcionó como se esperaba? Si no fue así, intente averiguar qué hizo mal (por ejemplo, ortografía, |
==== Italic ==== | ==== Italic ==== | ||
- | * Now make the < | + | * Ahora, cambia el < |
< | < | ||
font-style: italic; | font-style: italic; | ||
}</ | }</ | ||
- | * If you had more than one < | + | * Si tuviera mas que una < |
- | * Try adding another | + | * Prueba anadir otra etiqueta |
==== Font Family ==== | ==== Font Family ==== | ||
- | * Let's modify the heading. | + | * Modificamos el cabezera. |
- | * We can change the font family by adding the same code as the attribute. | + | * Podemos cambiar la familia del fuente usando lo mismo codigo del atributos. |
< | < | ||
font-family: | font-family: | ||
}</ | }</ | ||
- | ==== Font Size ==== | + | ==== Tamano del Fuente |
- | * Let's make the heading really big. | + | * Hagamos el titulo muy grande. |
< | < | ||
- | ==== Underline, Small Caps, Line Height, Shadow | + | ==== Decoraciones |
- | * Any attribute that works in HTML can be used in CSS. Let's complete the heading using the same attributes as before. | + | * Cualquier atributo que funcione en HTML se puede utilizar en CSS . Completemos el titulo usando los mismos atributos que antes. |
< | < | ||
font-family: | font-family: | ||
Line 73: | Line 73: | ||
text-shadow: | text-shadow: | ||
}</ | }</ | ||
- | * Notice that by placing each style definition on a separate line and indenting them makes it very clear which element is targeted and what styles they will use. If you haven' | + | * Cualquier atributo que funcione en HTML se puede utilizar en CSS . Completemos el encabezado usando los mismos atributos que antes. |
- | [[web_design: | + | [[web_design: |