1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-11 16:44:57 +02:00

Fix logo size

This commit is contained in:
Phuoc Nguyen
2021-04-29 10:18:32 +07:00
parent 4bd30f8022
commit b88767ca1b
2 changed files with 1 additions and 5 deletions

View File

@@ -71,10 +71,6 @@ a {
display: flex;
justify-content: center;
}
.hero__logo img {
object-fit: cover;
width: 16rem;
}
.hero__heading {
color: var(--color-gray-9);
font-size: 2rem;

View File

@@ -42,7 +42,7 @@ const HomePage = () => {
</Helmet>
<div className="hero">
<div className="container">
<div className="hero__logo"><img src="/assets/logo.png" alt="CSS Layout" /></div>
<div className="hero__logo"><img src="/assets/logo.png" height="256" width="256" alt="CSS Layout" /></div>
<h1 className="home__heading">CSS Layout</h1>
<h2 className="hero__subheading">Popular Layouts & patterns made with CSS</h2>
</div>