30秒学会 CSS 片段 – Drop cap
Makes the first letter in the first paragraph bigger than the rest of the text – often used to...
Makes the first letter in the first paragraph bigger than the rest of the text – often used to...
Transitions an element’s height from 0 to auto when its height is unknown. transition: max-hei...
Displays a menu overlay when the image is hovered. Use a figure to wrap the img element and a div el...
Creates a rotate effect for the image on hover. Use scale and rotate when hovering over the parent e...
Creates a triangle shape with pure CSS. The color of the border is the color of the triangle. The si...
Changes the fit and position of an image within its container while preserving its aspect ratio. Pre...
Creates a shadow box around the text when it is hovered. display: inline-block to set width and leng...
Creates a bouncing loader animation. @keyframes defines an animation that has two states, where the ...
Ensures that an element self-clears its children. .clearfix:after defines a pseudo-element. content:...
Resets all styles to default values with one property. This will not affect direction and unicode-bi...