30秒学会 CSS 片段 – Image gallery with horizontal scroll
Creates a horizontally scrollable image gallery. Position the .thumbnails at the bottom of the conta...
Creates a horizontally scrollable image gallery. Position the .thumbnails at the bottom of the conta...
Creates an isometric card. Use transform with rotateX() and rotateY() as well as a box-shadow to cre...
Creates a polka dot background pattern. Use background-color to set a black background. Use backgrou...
Limit multiline text to a given number of lines. Use -webkit-line-clamp to set the maximum number of...
Displays an error message when an image fails to load. Apply styles to the img element as if it was ...
Displays a text on top of an image using an overlay. Use backdrop-filter to apply a blur(14px) and b...
Displays the link URL for links with no text. Use the :empty pseudo-class to select links with no te...
Creates a checkerboard background pattern. Use background-color to set a white background. Use backg...
Creates a styled checkbox with animation on state change. Use an <svg> element to create the c...
Creates text that scales according to the viewport width. Use the clamp() CSS function to clamp the ...