« Web, HTML, Tech Forum

How to add a tint to profile?

Posted by claire

posted

Forum: Web, HTML, Tech

Hi! Just what the title says. I'm new to this site and I've tried looking for someone who also had this question but I can't find anything. So, thank you in advance!


Report Topic

1 Reply

Reply by Pawtals!

posted

body::after {

    content: ' ';

    position: fixed;

    width: 100%;

    height: 100%;

    top: 0;

    /* add a transparent background color or tint effect */

}

Use the style above and adjust it how you want, below is a video of me messing around with it.

https://streamable.com/fiq7f8


Permalink Report Reply