Posted in webdev
7176
3:43 am, June 6, 2020
 

fixing the website footer and making it less ugly

Here i show you in a couple of steps how to make the footer on this site look nicer, while actually doing it.

Here is what the footer currently looks like.

Yep pretty average looking.

Lets add a wrapper to it, that covers the full width of the page. 

This is the section of code that the footer sits in, we need to cover this in another container that will span full width so we can add a background colour to it.

Then add some css to make it darker and the colours lighter.

This css will add a background to the footer and some padding on the top and bottom.

This is how it should look now.

Then change the link color to #eee as well and see how it looks.

Not amazing, but better.

View Statistics
This Week
260
This Month
951
This Year
2199

No Items Found.

Add Comment
Type in a Nick Name here
 
Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote
Even if you fall on your face, you're still moving forward.
Victor Kiam
Random CSS Property

:host-context()

The :host-context() CSS pseudo-class function selects the shadow host of the shadow DOM containing the CSS it is used inside (so you can select a custom element from inside its shadow DOM) — but only if the selector given as the function's parameter matches the shadow host's ancestor(s) in the place it sits inside the DOM hierarchy.
:host-context() css reference