EXERCISE 6: EXTERNAL CCS FILES OF COLOR VALUES
EXERCISE 6:
EXTERNAL CCS FILES OF COLOR VALUES
the preview:
they basically follow the same format
THE CODE FOR HTML:
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>CSS of Color Values</title>
<link rel="stylesheet" href="EXERCISE 6 COLOR.CSS">
</head>
<style>
* {
box-sizing: border-box;
}
body {
margin-top: 15px;
margin-left: 100px;
margin-right: 100px;
}
.column {
float: left;
width: 33.33%;
padding: 10px;
height: 300px;
}
.row:after {
content: "";
display: table;
clear: both;
}
</style>
</head>
<body>
<h1> Color Values </h1>
<div class="row">
<div class="column">
<div class="red1">
<h1> Red 1 </h1>
</div>
<div class="red2">
<h1> Red 0.9 </h1>
</div>
<div class="red3">
<h1> Red 0.8 </h1>
</div>
<div class="red4">
<h1> Red 0.7 </h1>
</div>
<div class="red5">
<h1> Red 0.6 </h1>
</div>
<div class="red6">
<h1> Red 0.5 </h1>
</div>
<div class="red7">
<h1> Red 0.4 </h1>
</div>
<div class="red8">
<h1> Red 0.3 </h1>
</div>
<div class="red9">
<h1> Red 0.2 </h1>
</div>
<div class="red10">
<h1> Red 0.1 </h1>
</div>
<div class="green1">
<h1> Green 1 </h1>
</div>
<div class="green2">
<h1> Green 0.9 </h1>
</div>
<div class="green3">
<h1> Green 0.8 </h1>
</div>
<div class="green4">
<h1> Green 0.7 </h1>
</div>
<div class="green5">
<h1> Green 0.6 </h1>
</div>
<div class="green6">
<h1> Green 0.5 </h1>
</div>
<div class="green7">
<h1> Green 0.4 </h1>
</div>
<div class="green8">
<h1> Green 0.3 </h1>
</div>
<div class="green9">
<h1> Green 0.2 </h1>
</div>
<div class="green10">
<h1> Green 0.1 </h1>
</div>
<div class="violet1">
<h1> Violet 1 </h1>
</div>
<div class="violet2">
<h1> Violet 0.9 </h1>
</div>
<div class="violet3">
<h1> Violet 0.8 </h1>
</div>
<div class="violet4">
<h1> Violet 0.7 </h1>
</div>
<div class="violet5">
<h1> Violet 0.6 </h1>
</div>
<div class="violet6">
<h1> Violet 0.5 </h1>
</div>
<div class="violet7">
<h1> Violet 0.4 </h1>
</div>
<div class="violet8">
<h1> Violet 0.3 </h1>
</div>
<div class="violet9">
<h1> Violet 0.2 </h1>
</div>
<div class="violet10">
<h1> Violet 0.1 </h1>
</div>
</div>
<div class="column">
<div class="orange1">
<h1> Orange 1 </h1>
</div>
<div class="orange2">
<h1> Orange 0.9 </h1>
</div>
<div class="orange3">
<h1> Orange 0.8 </h1>
</div>
<div class="orange4">
<h1> Orange 0.7 </h1>
</div>
<div class="orange5">
<h1> Orange 0.6 </h1>
</div>
<div class="orange6">
<h1> Orange 0.5 </h1>
</div>
<div class="orange7">
<h1> Orange 0.4 </h1>
</div>
<div class="orange8">
<h1> Orange 0.3 </h1>
</div>
<div class="orange9">
<h1> Orange 0.2 </h1>
</div>
<div class="orange10">
<h1> Orange 0.1 </h1>
</div>
<div class="lblue1">
<h1> Light Blue 1 </h1>
</div>
<div class="lblue2">
<h1> Light Blue 0.9 </h1>
</div>
<div class="lblue3">
<h1> Light Blue 0.8 </h1>
</div>
<div class="lblue4">
<h1> Light Blue 0.7 </h1>
</div>
<div class="lblue5">
<h1> Light Blue 0.6 </h1>
</div>
<div class="lblue6">
<h1> Light Blue 0.5 </h1>
</div>
<div class="lblue7">
<h1> Light Blue 0.4 </h1>
</div>
<div class="lblue8">
<h1> Light Blue 0.3 </h1>
</div>
<div class="lblue9">
<h1> Light Blue 0.2 </h1>
</div>
<div class="lblue10">
<h1> Light Blue 0.1 </h1>
</div>
<div class="pink1">
<h1> Pink 1 </h1>
</div>
<div class="pink2">
<h1> Pink 0.9 </h1>
</div>
<div class="pink3">
<h1> Pink 0.8 </h1>
</div>
<div class="pink4">
<h1> Pink 0.7 </h1>
</div>
<div class="pink5">
<h1> Pink 0.6 </h1>
</div>
<div class="pink6">
<h1> Pink 0.5 </h1>
</div>
<div class="pink7">
<h1> Pink 0.4 </h1>
</div>
<div class="pink8">
<h1> Pink 0.3 </h1>
</div>
<div class="pink9">
<h1> Pink 0.2 </h1>
</div>
<div class="pink10">
<h1> Pink 0.1 </h1>
</div>
<div class="white1">
<h1> White 1 </h1>
</div>
<div class="white2">
<h1> White 0.1 </h1>
</div>
<div class="white3">
<h1> White 0.3 </h1>
</div>
<div class="white4">
<h1> Grey 0.5 </h1>
</div>
<div class="white5">
<h1> Grey 0.7 </h1>
</div>
<div class="white6">
<h1> Grey 0.9 </h1>
</div>
<div class="white7">
<h1> Grey 1 </h1>
</div>
<div class="white8">
<h1> Black 0.7 </h1>
</div>
<div class="white9">
<h1 style="color: #ffffff;"> Black 0.9 </h1>
</div>
<div class="white10">
<h1 style="color: #ffffff;"> Black 1 </h1>
</div>
</div>
<div class="column">
<div class="yellow1">
<h1> Yellow 1 </h1>
</div>
<div class="yellow2">
<h1> Yellow 0.9 </h1>
</div>
<div class="yellow3">
<h1> Yellow 0.8 </h1>
</div>
<div class="yellow4">
<h1> Yellow 0.7 </h1>
</div>
<div class="yellow5">
<h1> Yellow 0.6 </h1>
</div>
<div class="yellow6">
<h1> Yellow 0.5 </h1>
</div>
<div class="yellow7">
<h1> Yellow 0.4 </h1>
</div>
<div class="yellow8">
<h1> Yellow 0.3 </h1>
</div>
<div class="yellow9">
<h1> Yellow 0.2 </h1>
</div>
<div class="yellow10">
<h1> Yellow 0.1 </h1>
</div>
<div class="blue1">
<h1> Blue 1 </h1>
</div>
<div class="blue2">
<h1> Blue 0.9 </h1>
</div>
<div class="blue3">
<h1> Blue 0.8 </h1>
</div>
<div class="blue4">
<h1> Blue 0.7 </h1>
</div>
<div class="blue5">
<h1> Blue 0.6 </h1>
</div>
<div class="blue6">
<h1> Blue 0.5 </h1>
</div>
<div class="blue7">
<h1> Blue 0.4 </h1>
</div>
<div class="blue8">
<h1> Blue 0.3 </h1>
</div>
<div class="blue9">
<h1> Blue 0.2 </h1>
</div>
<div class="blue10">
<h1> Blue 0.1 </h1>
</div>
<div class="brown1">
<h1> Brown 1 </h1>
</div>
<div class="brown2">
<h1> Brown 0.9 </h1>
</div>
<div class="brown3">
<h1> Brown 0.8 </h1>
</div>
<div class="brown4">
<h1> Brown 0.7 </h1>
</div>
<div class="brown5">
<h1> Brown 0.6 </h1>
</div>
<div class="brown6">
<h1> Brown 0.5 </h1>
</div>
<div class="brown7">
<h1> Brown 0.4 </h1>
</div>
<div class="brown8">
<h1> Brown 0.3 </h1>
</div>
<div class="brown9">
<h1> Brown 0.2 </h1>
</div>
<div class="brown10">
<h1> Brown 0.1 </h1>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
Comments
Post a Comment