30秒学会 CSS 片段 – System font stack
Uses the native font of the operating system to get close to a native app feel. The browser looks fo...
Uses the native font of the operating system to get close to a native app feel. The browser looks fo...
Align items horizontally using display: inline-block to create a 3-tile layout. Use display: inline-...
Changes the appearance of a form if any of its children are focused. The psuedo class :focus-within ...
Creates a donut spinner that can be used to indicate the loading of content. Use a semi-transparent ...
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...
Shows all the elements specified. Use the spread operator (…) and Array.prototype.forEach() to cle...
Creates a pulse effect loader animation using the animation-delay property. Use @keyframes to define...
Hides all the elements specified. Use NodeList.prototype.forEach() to apply display: none to each el...
Returns the value of a CSS rule for the specified element. Use Window.getComputedStyle() to get the ...