Browse Source

fix galerry

master
Jakub Škrabánek 4 weeks ago
parent
commit
f9e1f6ebfd
  1. 15
      29_dog_api/index.html

15
29_dog_api/index.html

@ -4,6 +4,21 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title> <title>Document</title>
<style>
.galerie{
display: grid;
grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
gap: 15px;
width: 100%;
max-width: 900px;
}
.galerie img {
width: 100%;
height: 250px;
object-fit: cover;
border-radius:10px ;
}
</style>
</head> </head>
<body> <body>
<h1>Random Dog Gallery</h1> <h1>Random Dog Gallery</h1>

Loading…
Cancel
Save