Nebeneinander oder untereinander mit flex-direction: row oder column-reverse.

2025-11-22 12:49:51 +01:00
commit 5eec978495

16
Basic-template.md Normal file

@@ -0,0 +1,16 @@
# Style with flex
```CSS
.project-container {
display: flex;
flex-direction: column-reverse;
}
.project-container img {max-width: 100%; height: auto; }
@media only screen and (min-width: 768px) {
nav { flex-direction: row; }
.project-container {
flex-direction: row;
column-gap: 1em;
}
.pagination { width: 30%; }
}
```