book container done
This commit is contained in:
1 parent
36af371d22
commit
1a7706f2a2
3 files changed
+81
-2
No files matched your search
@@ -459,3 +459,17 @@ body {
|
|||||||
.section-stories {
|
.section-stories {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 15rem 0; }
|
padding: 15rem 0; }
|
||||||
|
|
||||||
|
.section-book {
|
||||||
|
padding: 15rem 0;
|
||||||
|
background-image: linear-gradient(to right bottom, #7ed56f, #28b485); }
|
||||||
|
|
||||||
|
.book {
|
||||||
|
background-image: linear-gradient(105deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 50%, transparent 50%), url(../img/nat-10.jpg);
|
||||||
|
background-size: 100%;
|
||||||
|
border-radius: 3px;
|
||||||
|
box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.2);
|
||||||
|
height: 50rem; }
|
||||||
|
.book__form {
|
||||||
|
width: 50%;
|
||||||
|
padding: 6rem; }
|
||||||
@@ -300,6 +300,39 @@
|
|||||||
<a href="#" class="btn-text">Read all stories →</a>
|
<a href="#" class="btn-text">Read all stories →</a>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
<section class="section-book">
|
||||||
|
<div class="row">
|
||||||
|
<div class="book">
|
||||||
|
<div class="book__form">
|
||||||
|
<form action="#" class="form">
|
||||||
|
<div class="u-margin-bottom-medium">
|
||||||
|
<h2 class="heading--secondary">Start booking now</h2>
|
||||||
|
</div>
|
||||||
|
<div class="form__group">
|
||||||
|
<input
|
||||||
|
id="name"
|
||||||
|
type="text"
|
||||||
|
class="from__input"
|
||||||
|
placeholder="Full Name"
|
||||||
|
required
|
||||||
|
/>
|
||||||
|
<label for="name" class="form__label">Full name</label>
|
||||||
|
</div>
|
||||||
|
<div class="form__group">
|
||||||
|
<input
|
||||||
|
id="email"
|
||||||
|
type="email"
|
||||||
|
class="from__input"
|
||||||
|
placeholder="Email"
|
||||||
|
required
|
||||||
|
/>
|
||||||
|
<label for="email" class="form__label">Email address</label>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|||||||
@@ -6,9 +6,11 @@
|
|||||||
|
|
||||||
.section-features {
|
.section-features {
|
||||||
padding: 20rem 0;
|
padding: 20rem 0;
|
||||||
background-image: linear-gradient(to right bottom,
|
background-image: linear-gradient(
|
||||||
|
to right bottom,
|
||||||
rgba($color-primary-light, 0.801),
|
rgba($color-primary-light, 0.801),
|
||||||
rgba($color-primary-dark, 0.808)),
|
rgba($color-primary-dark, 0.808)
|
||||||
|
),
|
||||||
url("../img/nat-4.jpg");
|
url("../img/nat-4.jpg");
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
|
||||||
@@ -30,3 +32,33 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
padding: 15rem 0;
|
padding: 15rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.section-book {
|
||||||
|
padding: 15rem 0;
|
||||||
|
background-image: linear-gradient(
|
||||||
|
to right bottom,
|
||||||
|
$color-primary-light,
|
||||||
|
$color-primary-dark
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
.book {
|
||||||
|
background-image: linear-gradient(
|
||||||
|
105deg,
|
||||||
|
rgba($color-white, 0.9) 0%,
|
||||||
|
rgba($color-white, 0.9) 50%,
|
||||||
|
transparent 50%
|
||||||
|
),
|
||||||
|
url(../img/nat-10.jpg);
|
||||||
|
background-size: 100%;
|
||||||
|
|
||||||
|
border-radius: 3px;
|
||||||
|
box-shadow: 0 1.5rem 4rem rgba($color-black, 0.2);
|
||||||
|
|
||||||
|
height: 50rem;
|
||||||
|
|
||||||
|
&__form {
|
||||||
|
width: 50%;
|
||||||
|
padding: 6rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user