Some small Css tips #014
Stephan Nijman

Stephan Nijman @vanaf1979

About: Hi I'm Stephan Nijman! WordPress, Php, Javascript, React and Css Developer/Enthusiast/Blogger/Youtuber.

Location:
the Netherlands
Joined:
Apr 23, 2019

Some small Css tips #014

Publish Date: Apr 12 '21
69 11

To continue on my previous post here are some more tweets with little Css tips that might help you in your projects.

Prevent users from selecting text.



User-select docs: https://developer.mozilla.org/en-US/docs/Web/CSS/user-select


Css :is()



:is() docs: https://developer.mozilla.org/en-US/docs/Web/CSS/:is


Css viewport units.



Css logical properties.



Css logical properties docs: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties


Subscribe and Follow

Subscribe to my Youtube channel.

Follow me on Twitter

Thanks for reading/watching and stay safe

Comments 11 total

  • Kashyap Pandya
    Kashyap PandyaApr 12, 2021

    Never knew user select property, thanks Stephan.

  • Ash
    AshApr 12, 2021

    Whoa, :is() is about to be my new favorite 😋

    Thanks for the nice write-up!

  • Manten Devillé
    Manten DevilléApr 13, 2021

    Really cool tips! Never heard about the :is() trick :)

    • Stephan Nijman
      Stephan NijmanApr 16, 2021

      Thanks Manten! In some cases it can really clean up your selectors! :)

  • Jose Luis Ramos T.
    Jose Luis Ramos T.Apr 13, 2021

    Archivado. Gracias.

  • Stephan Nijman
    Stephan NijmanApr 16, 2021

    Thanks you for that feedback Dariusz. Safari is becomming the new internet explorer! :p

  • Stephan Nijman
    Stephan NijmanApr 16, 2021

    I get that. I was (partially) kidding of course! But this does make me curious what your thoughts are on this!?

Add comment