(Part 1)
From Trilogy : Lord of CSS
CSS
.top{
background-image: url("test.png");
}Your image is smaller / larger than your div?
Don't worry, just define background-repeat
.top{
background-image: url("test.png");
background-repeat: no-repeat;
}.top{
border: 2px solid #000000;
}.top{
border-width: 5px;
border-style: dotted;
border-color: #000000;
}The choice is in your hand
div#image-wrapper{
border-radius: 50%;
}
input[type="text"]{
border-radius: 5px;
}Now please try to make
your image in circle shape
Make it even cooler !
/* unvisited link */
a:link {
color: blue;
}
/* visited link */
a:visited {
color: red;
}
/* mouse over link */
a:hover {
color: green;
}
/* selected link */
a:active {
color: yellow;
}Go to extrainteger.com
Click bottom arrow to give up
Please show me the code
<a href="www.extrainteger.com" target="_blank" class="button1">Go to extrainteger.com</a>.button1{
font-family: Arial;
font-size: 24px;
padding: 15 25 15 25;
color: #000;
background-color: #F6B26B;
border: 5px solid #E69138;
text-decoration: none;
}
.button1:hover{
background-color: #E69138;
border: 5px solid #F6B26B;
}Please style this menu
<ul class="menu">
<li>
<a href="">Menu 1</a>
</li>
<li>
<a href="">Menu 2</a>
</li>
<li>
<a href="">Menu 3</a>
</li>
</ul>to look like this :
Click bottom arrow to give up
Hint :
Static
Relative
Absolute
Fixed
Create plus button that float in the bottom right of your page even if you scroll
Get your double kill now !