Skip to content

Commit 9834355

Browse files
committed
image de fond : CSS pour petit écran
1 parent ff5cf6a commit 9834355

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

css/styles.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ body {
44
margin: auto;
55
background: url("/img/background.jpg");
66
background-size: cover;
7-
background-blend-mode: darken;
87
}
98

109
h1 {
@@ -172,6 +171,9 @@ footer a {
172171
}
173172

174173
@media screen and (max-width: 500px) {
174+
body {
175+
background-size: auto;
176+
}
175177
main {
176178
margin-top: 1.5em;
177179
padding: 10px;

css/styles.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)