home.social

#wbdev — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #wbdev, aggregated by home.social.

  1. Ever want a pure CSS regular #polygon?

    Back in 2016, I first wrote this #Sass #mixin to generate one. I've had others before, but this is the one I've kept updating it ever since and it's heavily commented.

    You just need to pass it a number of vertices and an initial rotation.

    @codepen demo: codepen.io/thebabydino/pen/mEg

    #CSS #clipPath #geometry #2D #code #coding #frontend #web #dev #wbDev #webDevelopment

  2. Ever want a pure CSS regular #polygon?

    Back in 2016, I first wrote this #Sass #mixin to generate one. I've had others before, but this is the one I've kept updating it ever since and it's heavily commented.

    You just need to pass it a number of vertices and an initial rotation.

    @codepen demo: codepen.io/thebabydino/pen/mEg

    #CSS #clipPath #geometry #2D #code #coding #frontend #web #dev #wbDev #webDevelopment

  3. Ever want a pure CSS regular #polygon?

    Back in 2016, I first wrote this #Sass #mixin to generate one. I've had others before, but this is the one I've kept updating it ever since and it's heavily commented.

    You just need to pass it a number of vertices and an initial rotation.

    @codepen demo: codepen.io/thebabydino/pen/mEg

    #CSS #clipPath #geometry #2D #code #coding #frontend #web #dev #wbDev #webDevelopment

  4. Ever want a pure CSS regular #polygon?

    Back in 2016, I first wrote this #Sass #mixin to generate one. I've had others before, but this is the one I've kept updating it ever since and it's heavily commented.

    You just need to pass it a number of vertices and an initial rotation.

    @codepen demo: codepen.io/thebabydino/pen/mEg

    #CSS #clipPath #geometry #2D #code #coding #frontend #web #dev #wbDev #webDevelopment

  5. Ever want a pure CSS regular #polygon?

    Back in 2016, I first wrote this #Sass #mixin to generate one. I've had others before, but this is the one I've kept updating it ever since and it's heavily commented.

    You just need to pass it a number of vertices and an initial rotation.

    @codepen demo: codepen.io/thebabydino/pen/mEg

    #CSS #clipPath #geometry #2D #code #coding #frontend #web #dev #wbDev #webDevelopment