5 CSS Pro Tips and Tricks You Need to Know

CSSnippets on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateWeb Design4 min

About this video

A short tutorial on five CSS techniques that replace JavaScript for interactive effects, including smooth scrolling, scroll snapping, custom scrollbars and the :has(), :not(), :is() and :where() pseudo-classes. It is aimed at web designers and front-end developers who already write some CSS.

What you’ll learn

  • Create CSS-only interactive effects without JavaScript
  • Add smooth scrolling and scroll snapping to a page
  • Apply :has(), :not(), :is() and :where() to write leaner selectors