:after

frans asked 7 years ago

The colors we can chose are set on this way in CSS: .rgba-black-strong, .rgba-black-strong:after { background-color: rgba(0, 0, 0, 0.7); } I don't know why there is a :after pseudo element. Can someone explane.

Marta Szymanska staff pro premium answered 7 years ago

Hi, we also need the :after element in our SCSS code of rgba colors to allow using of rgba color as a mask for .side-nav. Best, Marta  
Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No