Professional Documents
Culture Documents
(in html)
to create an unordered list : <ul>
to create elements for this list: <li>
to create text link(anchor): <ul><li><a href="">portfolio</a></li></ul>
(in css)
ul{to modify the entire list}
ul li{to modify the elements of the list}
ul li a{to modify the text link}
<nav> tag is used when we want ton contain a code into box like<div> but this one
is for menu navigation :
nav{
width: 100%; (largeur tt le ster)
height: 100px;
background-color:rosybrown;
}
ul li{
list-style:none;
display: inline-block;
margin-top: 40px;
padding-left: 40px;}
ul li a{
text-decoration: none;
color:white;
+ A CSS hover effect takes place when a user hovers over an element, and the
element responds with transition effects
.wrapper{
width:1024px;(to set the larger of the div(box))
margin:0 auto;(we want 0 margin at the top neither bottom but it will auto fill
to center)
OR