30秒学会 CSS 片段 – Dynamic shadow
Creates a shadow similar to box-shadow but based on the colors of the element itself. position: rela...
Creates a shadow similar to box-shadow but based on the colors of the element itself. position: rela...
Horizontally and vertically centers a child element within a parent element using flexbox. display: ...
Customizes the scrollbar style for the document and elements with scrollable overflow, on WebKit pla...
If the text is longer than one line, it will be truncated for n lines and end with an gradient fade....
Displays an image overlay effect on hover. Use the :before and :after elements for the top and botto...
Smoothly scrolls the element on which it’s called into the visible area of the browser window....
Creates a text container with a triangle at the top. Use the :before and :after pseudo-elements to c...
Horizontally and vertically centers a child element within a parent element using grid. display: gri...
A nicer alternative to text-decoration: underline where descenders do not clip the underline. Native...
Creates a border animation on hover. Use the :before and :after pseudo-elements as borders that anim...