We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcb4fe0 commit ae0ad07Copy full SHA for ae0ad07
starter/07-Omnifood-Desktop/css/queries.css
@@ -0,0 +1,20 @@
1
+/* rem and em do NOT depend on html font-size in media queries!
2
+Instead, 1rem = 1em = 16px */
3
+
4
+/*************************************/
5
+/* BELOW 1344px (Smaller desktop) */
6
7
8
+@media (max-width: 84em) {
9
+ .hero {
10
+ max-width: 120rem;
11
+ }
12
13
+ .heading-primary {
14
+ font-size: 4.4rem;
15
16
17
+ .gallery {
18
+ grid-template-columns: repeat(2, 1fr);
19
20
+}
starter/07-Omnifood-Desktop/index.html
@@ -15,6 +15,7 @@
<link rel="stylesheet" href="css/general.css" />
<link rel="stylesheet" href="css/style.css" />
+ <link rel="stylesheet" href="css/queries.css" />
</head>
<body>
21
<header class="header">
0 commit comments