So I'm building a website for a client, never had to do this before but I thought that it would make sense to just do this to make the color easier to select;
I want to be able to do this in html: <div class="colourblock red/yellow/lightblue/orange etc">
I want to be able to do this in html: <div class="colourblock red/yellow/lightblue/orange etc">
Code:
<div class="colourblock-orange">
<div class="site-container">
LOL
</div>
Code:
.colourblock {
background: #F67D42;
width:100%;
}
Code:
.colourblock-red { }
.colourblock-yellow {}
.colourblock-lightblue {}
.colourblock-orange {}
.colourblock-green {}
.colourblock-darkblue {}