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:
@@ -71,10 +71,6 @@ a {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
.hero__logo img {
|
|
||||||
object-fit: cover;
|
|
||||||
width: 16rem;
|
|
||||||
}
|
|
||||||
.hero__heading {
|
.hero__heading {
|
||||||
color: var(--color-gray-9);
|
color: var(--color-gray-9);
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
|
@@ -42,7 +42,7 @@ const HomePage = () => {
|
|||||||
</Helmet>
|
</Helmet>
|
||||||
<div className="hero">
|
<div className="hero">
|
||||||
<div className="container">
|
<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>
|
<h1 className="home__heading">CSS Layout</h1>
|
||||||
<h2 className="hero__subheading">Popular Layouts & patterns made with CSS</h2>
|
<h2 className="hero__subheading">Popular Layouts & patterns made with CSS</h2>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user