Spielen und Ausprobieren mit Responsive Design
This commit is contained in:
1 parent
d55770bc40
commit
b430cb4d39
2 files changed
+47
-1
No files matched your search
@@ -0,0 +1,35 @@
|
||||
|
||||
body {
|
||||
background: white;
|
||||
color: black;
|
||||
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
|
||||
}
|
||||
p.image {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
@media (min-width: 768px) {
|
||||
body {
|
||||
background-color: steelblue;
|
||||
color: white;
|
||||
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
body {
|
||||
background-color: darkblue;
|
||||
color: white;
|
||||
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
|
||||
}
|
||||
p {
|
||||
column-count: 2;
|
||||
column-gap: 2rem;
|
||||
}
|
||||
p.dotted {
|
||||
column-gap: 2rem;
|
||||
column-rule: 5px dotted black;
|
||||
outline-style: dotted;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user