Topic: :after
frans free asked 6 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.
Add comment
Marta Wierzbicka staff answered 6 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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- ForumUser: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags