CSS3 Properties
CSS3 introduced new properties and enhancements for styling web pages. Below is a list of important CSS3 properties, categorized for easy reference.
1. Background & Borders 🎨
✅ background-size
Defines how a background image is scaled.
✅ background-origin
Controls where the background starts.
✅ border-radius
Rounds the corners of an element.
✅ box-shadow
Adds shadow effects to elements.
2. Text & Fonts 🔠
✅ text-shadow
Adds a shadow to the text.
✅ word-wrap
Allows long words to break and wrap.
✅ font-feature-settings
Controls advanced typography.
3. Color & Opacity 🎨
✅ opacity
Sets the transparency of an element.
✅ rgba()
& hsla()
Supports transparent colors.
4. Flexible Layouts (Flexbox & Grid) 📏
✅ display: flex;
Creates a flexible container.
✅ display: grid;
Creates a CSS Grid container.
5. Transitions & Animations 🎬
✅ transition
Smoothly animates property changes.
✅ @keyframes
Defines custom animations.
6. Transformations 🔄
✅ transform
Applies scaling, rotating, translating, or skewing.
7. Responsive Design 📱
✅ @media
Defines breakpoints for different devices.
✅ vw
& vh
Defines sizes relative to viewport.
8. Miscellaneous Properties
✅ clip-path
Clips an element into a shape.
✅ resize
Makes an element resizable.