Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

3.Propiedades (diseño con CSS)

806 views

Published on

Principales propiedades CSS agrupadas por leemnetos: textos, imágenes, enlaces, etc.

Published in: Design
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download Full EPUB Ebook here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download Full doc Ebook here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download PDF EBOOK here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download EPUB Ebook here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download doc Ebook here { http://shorturl.at/mzUV6 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download Full EPUB Ebook here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download Full doc Ebook here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download PDF EBOOK here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download EPUB Ebook here { http://shorturl.at/mzUV6 } ......................................................................................................................... Download doc Ebook here { http://shorturl.at/mzUV6 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

3.Propiedades (diseño con CSS)

  1. 1. PROPIEDADES<br />TEMA 3<br />www.laramarcos.com<br />
  2. 2. 3.1 texto<br />color <br />font (shorthand)<br />font-size<br />font-family<br />font-style<br />font-variant<br />font-weight<br />text-align<br />line-height<br />text-decoration<br />www.laramarcos.com<br />
  3. 3. color<br />Hay múltiples formas de establecer el valor del color<br />Palabras clave, en inglés = 17 colores<br />RGB = 16 millones de colores<br />Propiedad que se hereda, a excepción de los enlaces<br />Ejemplos:<br />color: red;<br /> color: rgb (51, 204, 102);<br /> color: rgb (20%, 12%, 75%);<br /> color: #33CC66; EL MÁS UTILIZADO<br />www.laramarcos.com<br />
  4. 4. FONT-SIZE<br />El valor del tamaño de letra también se puede establecer de varias maneras<br />Medidas relativas: LA MEJOR OPCIÓN (accesibildad y flexibilidad de medios)<br />em (M mayúscula)<br />ex (x minúscula)<br />px (depende de la resolución de pantalla)<br />% (depende del tamaño de un elemento superior)<br />Medidas absolutas<br />cm (centímetros)<br />mm (milímetros)<br />pt (puntos)<br />www.laramarcos.com<br />
  5. 5. Font- family<br />Al establecer el tipo de letra se recomienda indicar, al menos, tres alternativas<br />2 nombres de tipos de letra, por ejemplo: Times New Roman o Courier New.<br />Y el nombre de la familia tipográfica: serif, cursive, sans-serif, fantasy y monospace.<br />Ejemplos más habituales:<br />font-family: Arial, Helvetica, sans-serif; <br />font-family: &quot;Times New Roman&quot;, Times, serif;<br />font-family: &quot;Courier New&quot;, Courier, monospace; <br />font-family: Georgia, &quot;Times New Roman&quot;, Times, serif; <br />font-family: Verdana, Arial, Helvetica, sans-serif;<br />www.laramarcos.com<br />
  6. 6. Font-style<br />El formato del texto puede tomar los siguientes valores<br />normal (valor por defecto)<br />italic (cursiva)<br />oblique (casi en desuso)<br />Font-variant<br /><ul><li>Estilo alternativo de la letra
  7. 7. normal (valor por defecto)
  8. 8. small-caps (mayúsculas pequeñas)</li></ul>www.laramarcos.com<br />
  9. 9. Font-weight<br />Para cambiar la anchura de la letra<br />Puede tomar múltiples valores pero los más útiles son:<br />normal (valor por defecto)<br />bold (negrita)<br />Otros valores:<br />400 = normal<br />700 = bold<br />lighter, bolder<br />www.laramarcos.com<br />
  10. 10. font<br />Regla shorthand que engloba las 5 anteriores<br />En ESTE CASO, sigue un orden estricto<br />Opcionalmente: font-style, font-variant y/o font-weight (uno, dos o los tres valores)<br />Obligatoriamente: font-size<br />Obligatoriamente: font-family<br />www.laramarcos.com<br />
  11. 11. Text-align<br />Alineación del CONTENIDO de un elemento<br />No es únicamente para alinear texto<br />Posibles valores<br />left (valor por defecto)<br />right<br />center<br />justify<br />www.laramarcos.com<br />
  12. 12. Line-height<br />Interlineado: altura de línea de los ELEMENTOS<br />No funciona únicamente con el texto<br />Posibles valores<br />Cualquier tipo de medida<br />Un número: funciona como múltiplo del tamaño de la propia letra<br />www.laramarcos.com<br />
  13. 13. Text-decoration<br />Adorno del texto<br />Valores<br />none (valor por defecto, excepto en los enlaces)<br />underline (subrayado: puede parecer un enlace)<br />overline<br />line-through (tachado: habitual en los blogs)<br />blink (parpadeante: poco recomendado)<br />www.laramarcos.com<br />
  14. 14. 3.2 enlaces<br />color <br />font<br />text-decoration<br />Jugar con ellas para establecer diferencias según el estado del enlace<br />link (aún sin visitar)<br />visited (visitados anteriormente)<br />hover (puntero encima)<br />active (momento en el que se pincha)<br />www.laramarcos.com<br />
  15. 15. 3.3 imágenes<br />width<br />height<br />Los valores se expresan mediante cualquier tipo de medida (relativa, absoluta y %)<br />No es recomendable deformar las proporciones de la imagen<br />www.laramarcos.com<br />
  16. 16. 3.4 listas<br />list-style (shorthand)<br />list-style-type<br />list-style-position<br />list-style-image<br />www.laramarcos.com<br />
  17. 17. List-style-type<br />Marcado de la lista<br />Valores<br />disc (círculo relleno)<br />circle (círculo vacío)<br />square (cuadradito)<br />decimal, decimal-leading-zero<br />lower-roman, upper-roman (números romanos)<br />lower-latin, upper-latin, lower-alpha, <br />upper-alpha (alfabeto)<br />Otros: armenian, georgian, lower-greek<br />www.laramarcos.com<br />
  18. 18. List-style-position<br />Posición del marcador respecto al texto (sólo se aprecia cuando ocupan más de una línea)<br />Valores<br />inside (la 2ª línea se coloca debajo <br />del marcador)<br />outside (la 2ª línea permanece alejado del marcador)<br />www.laramarcos.com<br />
  19. 19. List-style-image<br />Utilizar una pequeña imagen como marcador de las listas<br />Valor<br />url (“images/marcador1.png”)<br />www.laramarcos.com<br />
  20. 20. 3.5 tablas<br />border-spacing (separación entre celdas)<br />Una medida (horizontal y vertical)<br />Opcionalmente, una 2ª medida (la 1ª indica la horizontal y la 2ª la vertical)<br />caption-side (posición vertical del caption)<br />top (valor por defecto)<br />bottom<br />border-collapse (cómo se muestra el borde de las celdas)<br />separate (valor por defecto)<br />collapse<br />www.laramarcos.com<br />
  21. 21. 3.6 formularios<br />Jugar con:<br />padding (para los input type=“text”)<br />margin<br />display (block)<br />float<br />etc.<br />Y con la pseudo-clase :focus<br />www.laramarcos.com<br />

×