Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body {
- font-family: Arial;
- }
- body .spawner {
- display: grid;
- grid-template-rows: 5% 5% auto;
- background: rgba(0, 0, 0, 0.45);
- color: white;
- position: absolute;
- right: 0;
- left: 0;
- top: 0;
- bottom: 0;
- margin: auto;
- height: 60vh;
- width: 60vw;
- text-align: center;
- }
- .header {
- background: black;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .searchbar {
- width: 60%;
- }
- .content {
- display: grid;
- grid-template-columns: 20% 20% 20% 20% 20%;
- grid-auto-rows: 35%;
- overflow-y: auto;
- }
- .item {
- background: rgba(0, 0, 0, 0.50);
- margin: 15px;
- height: 9rem;
- justify-self: stretch;
- align-self: center;
- }
- .item img{
- margin-top: 1rem;
- width: 80%;
- height: 80%;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement