Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,33 @@
</head>

<body>
<div class="container">
<div class="heros">
<div>
<img src="./images/super-1.png" alt="Spiderman" />
<p>Spiderman</p>
<p class="score">12</p>
</div>
<div>
<img src="./images/super-3.png" alt="Wonder Women" />
<p>Wonder Women</p>
<p class="score">30</p>
</div>
</div>
<div class="score">5 - 0</div>
<div class="villians">
<div>
<img src="./images/super-2.png" alt="Captain America" />
<p>Captain America</p>
<p class="score">50</p>
</div>
<div>
<img src="./images/super-4.png" alt="Gem Women" />
<p>Gem Women</p>
<p class="score">12</p>
</div>
</div>
</div>

<footer class="footer">Made with <img src="/images/Vector.svg"> by ProGrad</footer>
</body>
Expand Down
27 changes: 26 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,29 @@
.footer{
margin-left : 80px;
margin-left : 120px;
margin-top: 20px;
font-size : 18px;
}

.container{
margin-top: 1em;
display: grid;
grid-template-columns: 1fr .5fr 1fr;
justify-items:center;
}

.heros, .villians{
display: grid;
grid-template-columns: 1fr 1fr;
column-gap: 1.5em;
}

.heros > div, .villians > div{
border-radius: 10px;
box-shadow: .5px .5px 5px 1px rgb(223, 115, 115);
text-align: center;
}

.score{
font-size:3em;
margin: 0px;
}