: Explain me some CSS Newbie to CSS. I don't get why :before and :after are used. Can I get some easy explanation,please?
Newbie to CSS. I don't get why :before and :after are used.
Can I get some easy explanation,please?
More posts by @Shelton105
1 Comments
Sorted by latest first Latest Oldest Best
When we use before it means, this css will apply (virtually) before the default content in html element, and vice-versa for after but the catch is these are called pseudo selectors, which does not change the real DOM, i.e. the change would be visible but not real.
Refer this to learn more about it : css-tricks.com/almanac/selectors/a/after-and-before/
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.