← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 203
  1. No more pixel rounding issues!

    One line of code that looks strange and confusing.

  2. CSS-only background patterns with a minimal code

    css-pattern.com: The Biggest Collection Of Background Patterns A unique URL per pattern Controls to adjust the size & colors Easy navigation between the patterns Optimized with CSS variables One-click to copy the code You can also surprise yourself with R…

  3. Single-digit inputs with one element (OTP)

    Turn a simple input into single-digit inputs using a few lines of CSS.

  4. A Sparkle shape with one gradient

    How much code is needed to create a Sparkle shape?

  5. How to extract R,G,B Channels from a color

    Using the new relative color syntax, you can easily extract the R,G,B channels of any color and use them as separate colors.

  6. The shortest selector for the root element

    To target the html element, you either use "html{}" or ":root{}" but thanks to CSS nesting you can simply use "&{}" When used alone, the nesting selector will match the root element!

  7. Avatar with status indicator

    Use modern CSS to add a status indicator to your avatar using less than 10 CSS declarations and without extra elements.

  8. Create CSS Shapes with a single element

    css-shape.com: The Ultimate Collection of CSS-Only shapes Single-element implementation Optimized CSS code Easy to customize One click to copy the code The modern way to create CSS Shapes Read more

  9. Write better CSS with modern CSS

    A lot of new CSS features can help you optimize your code and reduce redundancy.

  10. A fancy frame with Zig-Zag borders

    Use modern CSS to create a fancy Zig-Zag border around images using a few lines of code.

  11. A Modern way to create a star shape

    Create a Star shape using clip-path and only 5 points instead of 10.

  12. CSS-Only pixelated cut corners

    Use modern CSS to cut the corner of an image with a pixelated effect.

  13. Rounded tabs with inner curves

    Use modern CSS to create those famous rounded tabs with inner curves.

  14. Fluid typography with discrete steps

    Use the round() function and create a fluid typography with a discrete function instead of a continuous one.

  15. A CSS-only wavy divider

    Use modern CSS and add a cool Wavy divider to your section.

  16. A CSS-only fragmentation effect

    Add a hover aniamtion with a fancy fragmentation effect using only the <img> tag.

  17. Smoothly stop a rotation on hover

    Make your rotation look more natural by smoothly stopping it on hover instead of an abrupt stop.

  18. Accelerate a rotation on hover

    Do you want to accelerate the rotation of your element on hover?

  19. Turn an image into a postage stamp

    Transform your image into a cool postage stamp with a few lines of code No extra element (only the <img> tag) Only two CSS gradients Works with any image size Easy to adjust using CSS variables Read more

  20. A wavy circle with cool hover effect

    Place you image inside a wavy circular frame powered by modern CSS (mask, trigonometric functions, @property, animation-composition and more) No extra element (only the <img> tag) No pseudo element A cool animation on hover Optimized with Sass and CSS var…

  21. The gotcha of align-content with block elements

    Everyone is excited about the new align-content that works with block-level elements, but pay attention when you want to center elements such as <img>, <iframe>, <canvas>, <video>, etc. ⚠️ They won't get centered ⚠️ They will look centered but in reality,…

  22. CSS Functions that work without arguments

    Do you know that some CSS functions can be used without arguments?

  23. Create a flower shape using CSS mask

    Create a fancy flower shape using an online generator 🌺 css-generators.com/flower-shapes Get an optimized code in no time.

  24. Be careful when using the nesting selector (&)

    CSS Nesting is cool and using the "&" is a lifesaver BUT be careful.

  25. Heart shape with a sliding hover effect II

    Another variation of the previous effect using the same code structure No extra element (only the <img> tag) No pseudo-elements Read more

  26. Heart shape with a sliding hover effect

    Turn your image into a heart shape with a lovely hover animation 😍 No extra element (only the <img> tag) No pseudo-elements Less than 15 CSS declarations Read more

  27. Create a triangle shape with 2 CSS properties

    Creating a basic triangle shape is as simple as using two CSS properties aspect-ratio clip-path (with a 3-point polygon) That's it, and it works with any kind of elements including images.

  28. Responsive full-screen slanted coloration

    Use modern CSS to: Set a max-width Center an element Set a minimum margin Add a full-width slanted coloration Make the slant effect responsive All of this, using only 3 properties and easy to control with CSS variables Read more

  29. When to use the min() or max() function

    min() or max()?

  30. An infinite number of borders around images

    Use the magic border-image and add as many borders as you want to your images for a fancy decoration No extra elements & No pseudo-elements Only one gradient Optimized with CSS variables Read more

  31. A curved ribbon shape with hover effect

    Create a simple ribbon shape with a cool hover effect Only one element Optimized with CSS variables Powered by @property Read more

  32. A fancy frame with wavy borders (wavy box)

    Place your image inside a wavy box using a few lines of code Only one element (the <img> tag) No pseudo-elements Optimized with CSS Variables Works with gradient coloration Read more

  33. Triangle shape with rounded corners

    A modern way to create a triangle with rounded corners Only one element (no pseudo-elements) Only three CSS properties One variable to control the radius Read more

  34. A Modern way to create an octagon shape

    An easy and modern way to create Octagon shapes Only 2 CSS declarations No magic numbers A 4-point polygon (instead of 8) for the clip-path Read more

  35. A Modern way to create hexagon shapes

    An easy and modern way to create Hexagon Shapes Only 2 CSS declarations No magic numbers A simple 4-point polygon for the clip-path Read more

  36. Fix your images with an adhesive tape

    Don't let your images fall.

  37. Fancy corner decoration for your images

    Add a fancy decoration to the corners of your image using a few lines of code No extra element (only the <img> tag) No pseudo-element Optimized with CSS Variables Read more

  38. Border with inner radius for your images

    Add a border with an inner radius to your image using a simple code.

  39. Circular list of stacked avatars

    An horizontal list is good but a circular one is better 🤩 Another list of stacked avatars using the same code structure Minimal HTML (images inside a container) Works with any number of images Powered by modern CSS (CSS variables, mask, @property, and mor…

  40. Horizontal list of stacked avatars

    Create a list of stacked avatars with a cool hover effect and with transparency Minimal HTML (images inside a container) Works with any number of images Powered by modern CSS (CSS variables, mask, @property, has() selector and more) Read more

  41. Add a 3D style to your text III

    Add a cool 3D effect to your name or your favorite number Only one element per word (not per letter) No pseudo-elements Optimized with CSS variables Read more

  42. Place your image inside a 3D gift box II

    Here is another variation of the previous effect.

  43. Place your image inside a 3D gift box

    Place your image inside a 3D box and reveal it with a cool hover effect.

  44. A circular reveal effect for your images

    Add a fancy reveal effect to your images with a few lines of code No extra element (only the <img> tag) No pseudo-elements Powered by CSS Variables & @property Read more

  45. Infinite stripes shadow for your images

    Another variation of the previous effect with infinite stripes No extra element (only the image tag) No pseudo-elements Optimized with CSS variables Read more

  46. Infinite shadow for your images II

    Another variation of the previous effect where you can add a diagonal infinite shadow to your rounded image.

  47. Overlay reveal animation for your images

    Add a reveal animation to your image with a simple code No extra element (only the image tag) No pseudo-elements Optimized with CSS Variables Read more

  48. A Ribbon shape with a reveal hover effect

    Create a ribbon shape with a fancy reveal effect on hover Only one element No fixed size (it fits your text content) Optimized with CSS Variables Read more

  49. Rounded gradient border with hover effect

    Add a fancy hover effect to your image with a gradient border No extra element (only the <img> tag) No pseudo-element Powered by CSS mask & @property Read more

  50. A Tooltip Shape using 2 CSS properties

    The smallest code to create a simple Tooltip Shape One element (No pseudo-elements) Only 2 CSS Properties Optimized with CSS Variables Read more