Add full-stack questions
This commit is contained in:
1 parent
dbf2353a41
commit
d87ea1c972
29 files changed
+373
-19
No files matched your search
@@ -3,8 +3,11 @@
|
||||
To help ensure this, you can use flexible grids (either `CSS Grid` or `Flexbox`).
|
||||
|
||||
You will also have to apply media queries which help set breakpoints where the different styles need to be applied based on the width of the window:
|
||||
`@media (max-width: 768px) {`
|
||||
`.container { flex-direction: column; }`
|
||||
`}`
|
||||
|
||||
```css
|
||||
@media (max-width: 768px) {
|
||||
.container { flex-direction: column; }
|
||||
}
|
||||
```
|
||||
|
||||
You can also use relative units (`%`, `em`, `rem`) instead of fixed units (`px`) to ensure the values automatically adapt to the size of the container.
|
||||
Reference in new issue
Block a user