Contenido del Curso
CSS Fundamentals
CSS Fundamentals
1. Getting Started with CSS
What is CSS and Why is it Important?Linking CSS to an HTML DocumentMastering CSS Selectors for Styling HTML ElementsChallenge: Apply Your First CSS StylesChallenge: Style with Class SelectorsEnhancing Styles with User Action Pseudo-ClassesChallenge: Apply User Action Pseudo-ClassesChanging Text Colors in CSSOptimizing Workflow for Efficient CSS CodingChallenge: Use Variables for Better CSS Management
3. The CSS Box Model & Spacing Elements
What is the CSS Box Model?Understanding Box Sizing in CSSAdding Space with Margins and PaddingChallenge: Apply Box Sizing to ElementsUsing Structural and Functional Pseudo-ClassesChallenge: Practice Structural Pseudo-ClassesUnderstanding Block, Inline, and Inline-Block ElementsWorking with Block-Level ElementsWorking with Inline ElementsChallenge: Predict Page Layout with Different Element Types
Mastering Text Styling in CSS
text-decoration
The text-decoration
property can be applied to any text content, including links, headings, paragraphs, and lists. It adds line effects such as underlining. Common values:
css
Let's run the following example and see the difference between all the property values.
index.html
styles.css
Output
text-transform
The text-transform
property allows us to change the capitalization of text content in HTML elements.
css
Let's consider the difference between all the property values:
index.html
styles.css
Output
text-align
The text-align
property allows you to horizontally align text content.
css
index.html
styles.css
Output
1. What CSS property allows to change the capitalization of text content?
2. What CSS property allows to horizontally align text content?
3. What CSS property allows you to add visual effects to the text content, such as underline or strike-through?
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 1