Elektrine lite

โ† Feed

CSS by T. Afif :verified:

css@front-end.social

<p>CSS stuff by Temani Afif<br /> <br /> ๐Ÿ’ก <a href="https://css-tip.com" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">css-tip.com</span><span class="invisible"></span></a><br /> ๐Ÿงฉ <a href="https://css-shape.com" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">css-shape.com</span><span class="invisible"></span></a><br /> ๐Ÿ’ซ <a href="https://css-loaders.com" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">css-loaders.com</span><span class="invisible"></span></a><br /> ๐Ÿ“ <a href="https://css-articles.com" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span cl

Posts

  • Post #4195644

    ๐Ÿ’ก CSS Tip! After corner-shape, shape(), and border-shape, another feature is available to play with: rounding polygons. https://css-tip.com/rounded-shapes/ You create a polygon, add a radius value at the beginning, and you have a shape with rounded corners! #CSS #HTML

  • Post #3670370

    ๐Ÿ“ New CSS Article! I wrote about border-shape. A super powerful feature! You might think I&#39;m exaggerating but I am not. https://css-tricks.com/get-ready-for-the-powerful-css-border-shape-property/ This is just a tiny overview of its potential. Stay tuned for more articles/demos that will blow your mind (I am still not exaggerating!) #CSS #HTML

  • Post #3651041

    ๐Ÿ’กCSS Tip! Create a responsive grid with a cool animation. Everything adjusts smoothly on resize or when adding/removing new items. https://css-tip.com/animated-grid/ A CSS-only implementation with a few lines of code. #CSS #HTML

  • Post #3489083

    Who said range sliders need to be straight and boring?! Hey CSS, distort the line! ใ€ฐ๏ธ https://css-tip.com/wiggly-range-slider/ Another funny demo powered by border-shape, scroll-driven animations, and more The HTML code? Only an input element (no extra code is needed) #CSS #HTML

  • Post #2507470

    Now that shape() is available in all major browsers, let me remind you that you can use my online generator to create any polygon with ... rounded corners! https://css-generators.com/polygon-shape/ Adjust the setting, then copy the code. #CSS #HTML

  • Post #2111683

    ๐Ÿ’ก CSS Tip! Do you want to control the speed of an infinite animation on hover (or any other interactions)? It&amp;#39;s possible with a simple code. https://css-tip.com/speed-control/ Accelerate, slow down, stop, move in the opposite direction. One CSS variable to set and it&amp;#39;s done! #CSS #HTML

  • Post #1715013

    ๐Ÿ’ก CSS Tip! For years, we&amp;#39;ve had the &amp;quot;z-index, stacking context&amp;quot; nightmare, but we will soon have a worse nightmare related to Anchor Positioning ๐Ÿ˜ฑ When it doesn&amp;#39;t work, it&amp;#39;s frustrating, so it&amp;#39;s time to learn how it really works. https://css-tip.com/anchor-issues/ It&amp;#39;s not as simple as you might think! #CSS #HTML

  • Post #1118852

    RE: https://mastodon.social/@csstricks/116335548662855451 Years ago, creating CSS shapes was a tedious task. I had to find workarounds with a lot of gradients and math. Now, using the shape() function, I can easily create complex shapes and animate them! ๐Ÿ‘‡ #CSS #HTML

  • Post #1118851

    Who found the easter egg in my CSS-only Dino game? ๐Ÿฅš A &amp;quot;rocket mode&amp;quot; to fly above everything! ๐Ÿ‘€ Give it a try: https://css-tip.com/dino-game/ #CSS #HTML

  • Post #1118850

    ๐Ÿ’ก CSS Tip! We&amp;#39;ve just had the release of :chrome: Chrome 147, which means border-shape was enabled by default! ๐Ÿ‘€ https://css-tip.com/border-shape/ Another property to create CSS shapes, but not only that! We can do a lot of fancy stuff with it. Many cool demos/articles are on the way ๐Ÿคฉ #CSS #HTML

  • Post #923897

    Bending a straight line using pure CSS?! ๐Ÿ‘€ Another cool demo in progress powered by border-shape. It&amp;#39;s coming to :chrome: Chrome next week! ๐Ÿคฉ #CSS #HTML

  • Post #899196

    A classic rounded button: boooring!! ๐Ÿฅฑ A squishy animated button: Yes, please!! ๐Ÿคฉ https://css-tip.com/squishy-button/ Another cool demo powered by the powerful shape() function #CSS #HTML

  • Post #899195

    It&amp;#39;s been a while since my last CSS Pattern, so let&amp;#39;s work on new ones! https://css-pattern.com/circles-pills/ #CSS #HTML

  • Post #899194

    ๐Ÿ’ก CSS Tip! Add an infinite wobbling animation to your image with a simple code. https://css-tip.com/wobbling-animation/ Powered by &amp;quot;complex&amp;quot; shape()s that you can easily get from my online generator! https://css-generators.com/fancy-frame/ #CSS #HTML

  • Post #899192

    ๐Ÿ“ New CSS Article! If you have seen my graph theory demo and wondered how it works, then the article is finally live! https://frontendmasters.com/blog/two-circles-one-arrow-and-anchor-positioning/ I was playing with two circles and anchor positioning, and ended up creating a shortest path algorithm. Modern CSS is fun! #CSS #HTML

  • Post #899191

    Now that my favorite feature is well supported, let&amp;#39;s create a new set of CSS loaders ๐Ÿคฉ The Squishy Collection: https://css-loaders.com/squishy/ Single-element implementation powered by shape() (and linear() for the bouncy ones!) Pick your favorite one ๐Ÿ‘‡ #CSS #HTML

  • Post #899190

    What&amp;#39;s the best way to showcase modern CSS features? By making games! This time it&amp;#39;s the famous :chrome: Dino Game ๐Ÿฆ– https://css-tip.com/dino-game/ 100% CSS magic playable with the keyboard. Yes, you can jump and crouch with the arrow keys! ๐Ÿ‘€ Don&amp;#39;t search for the JS, there is none. #CSS #HTML

  • Post #899189

    ๐Ÿ’ก CSS Tip! A sliding liquid reveal effect, because why not! ๐Ÿซ— https://css-tip.com/sliding-liquid/ Another demo powered by shape() and made easy with my online generators: https://css-generators.com/wavy-divider/ #CSS #HTML

  • Post #811690

    I thought I had found a bug that prevented counter() from working properly, but it was a feature! https://css-tip.com/counter-gotcha/ Another CSS gotcha that you&amp;#39;d better know about if you don&amp;#39;t want to waste time trying to figure out why your code isn&amp;#39;t working. Thanks to @mia for the insights #CSS #HTML

  • Post #762925

    Stack Overflow asked me to propose a CSS Challenge, and I couldn&amp;#39;t refuse. https://stackoverflow.com/beta/challenges/79908564/challenge-17-the-accurate-selection It&amp;#39;s about Selectors and more! There is nothing to win (except a profile badge), but it&amp;#39;s a fun challenge to illustrate your creativity. #CSS #HTML

  • Post #731443

    It seems we can now customize the select element, right? right?! Demo: https://codepen.io/t_afif/pen/PwGPJOB via :codepen: @codepen #CSS #HTML