Pseudo-elements positioning on steroids

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUI13 min

About this video

A CSS tutorial showing how to position ::before and ::after pseudo-elements with absolute positioning inside a grid container. It is aimed at people who already write CSS and want finer control over decorative elements.

What you’ll learn

  • Position pseudo-elements precisely inside a CSS grid container
  • Use absolute positioning with ::before and ::after for decorative layout
  • Control placement of decorative elements without extra markup