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:
See the Pen Random Wavy dividers by Temani Afif (@t_afif) on CodePen.
More CSS Tips
- Responsive Hexagon Grid without Media Queries A few lines of modern CSS to create a responsive grid of hexagon shapes (and more!).
- Connecting Circles With Anchor Positioning Using modern CSS to create a dynamic link that connects two circles, whatever their position.