← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 203
  1. Implementing children-count() using Modern CSS

    We can get the number of siblings using sibling-count() but we cannot get the number of children yet.

  2. Random Blob Shapes

    Creating CSS Shapes is cool, but what about Random CSS Shapes?

  3. Complex border-only Shapes with Gradient Coloration

    You can combine border-shape and border-area to easily border-only shapes with gradient coloration easily.

  4. Dynamic Node Connection (CSS-only Diagram) II

    Extending the previous implementation to add more connection types.

  5. Get Grid Information using pure CSS II

    Extending the previous implementation to consider a responsive grid with a random configuration.

  6. Hover Proximity with Scroll-Driven Animations

    Hover proximity?

  7. Get Grid Information using pure CSS

    Thanks to modern CSS, it's now easy to retrieve various information from a responsive CSS grid such as the number of rows, number of columns, and the coordinates of each item within the grid.

  8. Breakout Background using Modern CSS

    Do you want to extend the background color of your element to the edge of the screen?

  9. A New Way to Round the Corners of CSS Shapes

    The polygon() value of clip-path accepts a new (optional) corner-rounding parameter that allows you to create curved and rounded shapes easily!

  10. Responsive ASCII Arts using text-fit

    Using the new text-fit property, you can easily make your ASCII art responsive with a simple code!

  11. Responsive CSS Grid Layout with Animation

    Inspired by the demo of Bramus, I implemented an animated grid layout.

  12. background-clip is getting an upgrade!

    As we saw in a pervious post, the new value border-area of background-clip allows us to define a gradient border with simple code.

  13. Wiggly/Wavy Input Range Slider II

    Improving the wiggly/wavy range slider with a fancy tooltip showing the input value.

  14. Responsive Separator for Horizontal List

    Separating a horizontal list of items with a divider is a common design pattern.

  15. Wiggly/Wavy Input Range Slider

    Straight range sliders are boring, right?

  16. Dynamic Node Connection (CSS-only Diagram)

    I shared various CSS tips showing how modern CSS can be used to create a dynamic connection between two elements.

  17. Bending a Straight Line using Modern CSS

    Updating the previous implementation with another idea of connection.

  18. Connecting Circles With a Curved Line

    Reusing the previous implementation to transform the arrow shape into a curved line.

  19. Three Shape Variations using border-shape

    Using shape(), you can easily create any CSS-only shapes, and if you combine it with border-shape, you can have the border-only and cutout variations using almost the same code structure.

  20. An Interactive Image Slider/Carousel

    I am combining the technique of making an infinite marquee animation with the speed control trick to create a responsive image slider with button controls.

  21. Control the Speed of Infinite Animations

    Here is a simple code that lets you adjust the speed of your infinite animation on hover (or with other interactions).

  22. The Lazy Tooltip Follower

    Another demo featuring tooltips and Anchor Positioning.

  23. The Sticky Header that Sticks!

    Creating a sticky header is an easy task with position: sticky.

  24. Hand-Drawn Underline using border-shape

    Use the new border-shape property and transform the classic underline into hand-drawn lines!

  25. Convert Complex SVG Shapes into CSS

    I updated the SVG-to-CSS converter to support multiple path elements rather than just a single path.

  26. Let's Reshape the Web using border-shape!

    To create CSS Shapes, I mainly rely on clipping (using clip-path) or masking (using mask).

  27. A Sliding "Liquid Oozing" Reveal Effect

    Create a fancy reveal animation with a "liquid oozing" effect using the shape() function.

  28. CSS-only Chrome Dino Game

    What is the best way to showcase the modern CSS features?

  29. The Gotcha of using counter() with container

    Let's consider a basic usage of counter(): Read more

  30. Add a Wobbling Animation to your Images

    Use shape() and my fancy frames generator to create an infinite wobbling animation for images or any elements.

  31. A Squishy Button with a Hover/Click Effect

    Use the shape() function to create a fancy frame around a button element with a cool animation on hover and on click.

  32. A Squircle Shape using clip-path: shape()

    Until better support for corner-shape, we can approximate a squircle shape using clip-path: shape().

  33. A Generator for Fancy Frames

    Generate a fancy frame with one line of code using clip-path: shape().

  34. The Hidden Trick of Style Queries and if()

    With modern CSS, we have two new ways to express conditions: inline if() and style queries.

  35. Why is Anchor Positioning not working?

    Anchor Positioning enables you to link any element on the page to another (an anchor).

  36. Graph Theory using Modern CSS

    Let's suppose you have a graph with a known number of nodes and you want to identify the shortest path between two nodes.

  37. A Better Way to Express Percentage Height

    Percentage height is a common issue in CSS.

  38. How to use the "auto" value with clamp()

    If you have tried the code below, you know it doesn't work: Read more

  39. Elastic/Bouncy Text Effect

    Combining modern features such as shape(), sibling-index()/sibling-count(), linear(), etc., to create a funny elastic effect on hover.

  40. Following the previous post, here is another type of responsive grid: a pyramidal grid of hexagon shapes!

  41. Recreating the component and its

    Using a minimal HTML code and modern CSS to recreate the <fieldset> component.

  42. A Generator for Random Wavy Dividers

    Generate a fancy wavy divider with one line of code using clip-path: shape(). css-generators.com/wavy-divider It's a responsive single-element implementation that works with images as well: Read more

  43. Connecting Circles With Anchor Positioning II

    Improving the previous implementation to include the calculation of the distance between both circles inside the arrow shape.

  44. Responsive Hexagon Grid without Media Queries

    Using modern CSS to improve an old implementation of a responsive hexagon grid. coner-shape to create the hexagon shape and sibling-index() combined with math functions to conditionally apply a margin to only the first element of every other row.

  45. Connecting Circles With Anchor Positioning

    Let's suppose you have two circles randomly placed on the page, and you want to create a connection between them.

  46. Fizz Buzz using Modern CSS (no HTML)

    Is it possible to create a Fizz Buzz using HTML and CSS?

  47. The Hidden Selectors of The HTML Element

    How would you select the <html> element?

  48. Gallery of Skewed Images with Hover Effect

    Another classic component made easy with modern CSS and the new corner-shape.

  49. Direction-Aware CSS Shapes

    Building on the previous idea, here is a more generic piece of code to make any CSS shape direction-aware.

  50. Direction-Aware Arrow Shape using corner-shape

    We can use the new corner-shape to draw different CSS Shapes.