Changed header html and added hover effect to service cards
This commit is contained in:
1 parent
cbb71edc35
commit
d126880707
3 files changed
+17
-8
No files matched your search
Vendored
+3
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"liveServer.settings.port": 5501
|
||||||
|
}
|
||||||
+10
-6
@@ -60,12 +60,6 @@ body {
|
|||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
|
||||||
height: 100vh;
|
|
||||||
background-image: url("/img/hero.svg");
|
|
||||||
background-size: cover;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
@@ -126,6 +120,7 @@ h3 {
|
|||||||
transition: all 0.3s;
|
transition: all 0.3s;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn:hover,
|
.btn:hover,
|
||||||
@@ -146,6 +141,9 @@ h3 {
|
|||||||
|
|
||||||
.hero-section {
|
.hero-section {
|
||||||
margin-bottom: 30rem;
|
margin-bottom: 30rem;
|
||||||
|
height: 100vh;
|
||||||
|
background-image: url("/img/hero.svg");
|
||||||
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero {
|
.hero {
|
||||||
@@ -197,6 +195,12 @@ h3 {
|
|||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
padding: 5rem;
|
padding: 5rem;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
transition: all 0.3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.service-card:hover {
|
||||||
|
transform: scale(1.1);
|
||||||
|
box-shadow: 0 1rem 1rem 0 #2d54c7;
|
||||||
}
|
}
|
||||||
|
|
||||||
.service-card-header {
|
.service-card-header {
|
||||||
|
|||||||
+4
-2
@@ -16,7 +16,6 @@
|
|||||||
<title>Cosmically Creative</title>
|
<title>Cosmically Creative</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header class="hero-section">
|
|
||||||
<nav>
|
<nav>
|
||||||
<img class="logo" src="img/logo.svg" alt="Cosmically Creative Logo" />
|
<img class="logo" src="img/logo.svg" alt="Cosmically Creative Logo" />
|
||||||
<div class="nav-links">
|
<div class="nav-links">
|
||||||
@@ -27,6 +26,8 @@
|
|||||||
<a href="articles.html">Articles</a>
|
<a href="articles.html">Articles</a>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
<main>
|
||||||
|
<section class="hero-section">
|
||||||
<div class="hero">
|
<div class="hero">
|
||||||
<h1>Trusted Web Development, Powered by Cosmic Creativity</h1>
|
<h1>Trusted Web Development, Powered by Cosmic Creativity</h1>
|
||||||
<p>
|
<p>
|
||||||
@@ -36,7 +37,8 @@
|
|||||||
</p>
|
</p>
|
||||||
<a href="services.html" class="btn">Initiate Launch 🚀</a>
|
<a href="services.html" class="btn">Initiate Launch 🚀</a>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</section>
|
||||||
|
</main>
|
||||||
<section class="services-section">
|
<section class="services-section">
|
||||||
<div class="services-header">
|
<div class="services-header">
|
||||||
<img class="star" src="img/star.svg" alt="star" />
|
<img class="star" src="img/star.svg" alt="star" />
|
||||||
|
|||||||
Reference in new issue
Block a user