2022-2023/1NSI/01_Web_HTML_CSS/solutions/page_CSS/style.css

47 lines
759 B
CSS
Raw Normal View History

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;
}