Css Presentation
Css Presentation
• h1 {
• color: blue;
• }
• p{
CSS Selectors
• CSS selectors are used to select the HTML
elements you want to style.
CSS Properties
• CSS properties are used to apply styles to the
selected elements.
CSS Box Model
• The CSS box model describes the rectangular
boxes that are generated for elements in the
document tree and laid out according to the
visual formatting model. It consists of:
• - Content area
• - Padding area
• - Border area
• - Margin area
CSS Flexbox
• Flexbox is a one-dimensional layout method
for laying out items in rows or columns. It is
designed to distribute space along a single axis
and can be used to align items within a
container.
CSS Grid Layout
• Grid layout is a two-dimensional layout system
for the web. It allows you to layout items in
rows and columns, and provides a way to align
items within a container.
CSS Media Queries
• Media queries are used to apply different
styles for different devices or screen sizes.
They allow you to create responsive designs
that adapt to different screen sizes.
CSS Animations
• CSS animations allow you to create animations
without using JavaScript or Flash. You can
animate HTML elements by changing their
properties over time.
CSS Transitions
• CSS transitions allow you to change property
values smoothly (over a given duration). They
are used to create visual effects when
elements change from one state to another.