Title Applying CSS Styles for Custom Appearance - Презентация
Title Applying CSS Styles for Custom Appearance - Презентация
Custom Appearance
CSS Customization for Colors, Margins, Paddings, Box
Model, Outline, Text, Fonts, and FlexBox
The color property sets text color, and
background-color defines the background
Colors (color, color for elements. You can use names, HEX,
RGB, or HSL values.
background-color)
Examples:
Margins and
pushes elements apart, while padding adds
space between content and borders.
Examples:
Examples:
Examples:
button
{ outline: 3px solid blue;
}
CSS offers properties to control text styling,
including color, font-family, font-size, font-
weight, text-align, and text-decoration.
Fonts
Font Size: Controls text size (e.g., px, em).
Font Weight: Adjusts thickness (bold, normal).
Examples:
Examples:
Bootstrap
includes utilities for styling buttons, alerts, typography,
forms, layout grids, and more.
Classes
Example:
Grid
The .row class is used to contain columns,
ensuring proper alignment.
Breakpoints like sm, md, lg, and xl adjust the
System number of columns for different devices.
Example:
<div class="row">
<div class="col-md-6">Column 1</div>
<div class="col-md-6">Column 2</div>
</div>
Tailwind CSS is a utility-first framework that
allows developers to rapidly apply styling through
single-purpose utility classes. These classes (e.g.,
text-center, bg-blue-500, p-4) enable highly
Tailwind customizable styling without writing custom CSS.
Key Advantages: