Feat: ajoute la modification du CSS et des exemples à reproduire
This commit is contained in:
46
1NSI/01_Web_HTML_CSS/solutions/page_CSS/style.css
Normal file
46
1NSI/01_Web_HTML_CSS/solutions/page_CSS/style.css
Normal file
@@ -0,0 +1,46 @@
|
||||
body {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a {
|
||||
color: green;
|
||||
}
|
||||
|
||||
li {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
table {
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
.balise {
|
||||
background-color: lightgray;
|
||||
text-align: left;
|
||||
width: 50%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
color: darkgrey;
|
||||
}
|
||||
|
||||
#link {
|
||||
background-color: lightgrey;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: lightgrey;
|
||||
background-image: url("./220px-Richard_Stallman_2005_(chrys).jpg");
|
||||
background-color: #cccccc; /* Used if the image is unavailable */
|
||||
height: 300px; /* You must set a specified height */
|
||||
background-position: center; /* Center the image */
|
||||
background-repeat: no-repeat; /* Do not repeat the image */
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: black;
|
||||
}
|
||||
|
||||
#richard {
|
||||
display: none;
|
||||
}
|
Reference in New Issue
Block a user