Initial commit
This commit is contained in:
29
JS/JustifedGallery/assets/css/style.css
Normal file
29
JS/JustifedGallery/assets/css/style.css
Normal file
@@ -0,0 +1,29 @@
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
body {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 30px;
|
||||
background-color: #fcfcfc;
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
}
|
||||
.gallery {
|
||||
margin-top: 100px;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.gallery a {
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
width: fit-content;
|
||||
}
|
||||
.gallery img {
|
||||
width: 100%;
|
||||
}
|
||||
Reference in New Issue
Block a user