Feat: ajoute la modification du CSS et des exemples à reproduire
This commit is contained in:
39
1NSI/01_Web_HTML_CSS/page_CSS/style.css
Normal file
39
1NSI/01_Web_HTML_CSS/page_CSS/style.css
Normal file
@@ -0,0 +1,39 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user