diff --git a/projekt/galeria.css b/projekt/galeria.css new file mode 100644 index 0000000..9a41156 --- /dev/null +++ b/projekt/galeria.css @@ -0,0 +1,43 @@ +:root { + --blue-ur: #282625; + --white-ur: #FEFEFE; + } + + body { + text-align: center; + color: var(--white-ur); + background-color: var(--blue-ur); + } + + .gallery{ + display: grid; + justify-content: center; + gap:5px; + } + + .gallery img{ + width: 100%; + max-width: 400px; + + } + img:hover{ + scale: 1.1; + } + + @media (max-width:467px){ + .gallery{ + grid-template-columns: repeat(1,400px); + } + } + + @media (min-width:468px) and (max-width:1199px){ + .gallery{ + grid-template-columns: repeat(2,400px) + } + } + + @media (min-width:1200px){ + .gallery{ + grid-template-columns: repeat(3,400px) + } + } \ No newline at end of file diff --git a/projekt/galeria.html b/projekt/galeria.html new file mode 100644 index 0000000..8cfe741 --- /dev/null +++ b/projekt/galeria.html @@ -0,0 +1,114 @@ + + + + + + + + + Document + + + + + + +
+
+
+ +
+
+ +
+
+ + + + +
+
+ + + + +
+ +
+

Gallery

+ +
+ + + \ No newline at end of file diff --git a/projekt/index.html b/projekt/index.html index 2aa1579..0087958 100644 --- a/projekt/index.html +++ b/projekt/index.html @@ -77,7 +77,7 @@
  • Suspendisse fringilla
  • -
  • Galeria +
  • Galeria