40 lines
729 B
CSS
40 lines
729 B
CSS
|
body {
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
color: red;
|
||
|
border: 2px solid black;
|
||
|
}
|
||
|
|
||
|
li {
|
||
|
display: inline;
|
||
|
}
|
||
|
|
||
|
table {
|
||
|
border: 3px solid blue;
|
||
|
}
|
||
|
|
||
|
.balise {
|
||
|
background-color: lightblue;
|
||
|
text-align: left;
|
||
|
width: 33%;
|
||
|
margin-left: auto;
|
||
|
margin-right: auto;
|
||
|
color: green;
|
||
|
}
|
||
|
|
||
|
#link {
|
||
|
background-color: lightgrey;
|
||
|
}
|
||
|
|
||
|
#richard {
|
||
|
color: lightgrey;
|
||
|
background-image: url("./220px-Richard_Stallman_2005_(chrys).jpg");
|
||
|
background-color: #cccccc; /* Used if the image is unavailable */
|
||
|
height: 500px; /* You must set a specified height */
|
||
|
background-position: center; /* Center the image */
|
||
|
background-repeat: no-repeat; /* Do not repeat the image */
|
||
|
background-size: cover;
|
||
|
}
|