30秒学会 CSS 片段 – Sibling fade
Fades out the siblings of a hovered item. transition: opacity 0.2s specifies that changes to opacity...
Fades out the siblings of a hovered item. transition: opacity 0.2s specifies that changes to opacity...
Fancy hover and focus effect at navigation items using transform CSS property. Use the :before pseud...
Creates a pulse effect loader animation using the animation-delay property. Use @keyframes to define...
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...
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...