Tag height
How To Use Css Object-Fit And Object-Position To Crop Images
The object-fit property controls how an image or video fills its box. It lets you crop images to a fixed size without distorting them.
How To Use Css Position Sticky For Sticky Headers And Sidebars
An element with position: sticky behaves like a normal element until it reaches a scroll threshold, then it sticks in place. It needs no JavaScript.
How To Use Css Container Queries For Component-Based Responsive Design
Media queries react to the screen size. Container queries react to the size of a parent container, so a component adapts to the space it actually has. This is ideal…
How To Use Css Transitions And Keyframe Animations
Transitions animate a change between two states, like a hover. Keyframe animations run on their own and can have many steps.
How To Use Css Aspect-Ratio To Keep Image And Video Proportions
The aspect-ratio property sets the proportion between width and height. It removes the old padding hack and prevents layout shift while images and videos load, which helps your Core Web…


