-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from tanishkkkaa/tanishkaas
added new stuff
- Loading branch information
Showing
8 changed files
with
221 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="stylesheet" href="styles.css"> | ||
<title>Document</title> | ||
</head> | ||
<body> | ||
|
||
</body> | ||
</html> | ||
<section class="book" id="book"> | ||
|
||
<h1 class="heading"> | ||
<span>b</span> | ||
<span>o</span> | ||
<span>o</span> | ||
<span>k</span> | ||
<span class="space"></span> | ||
<span>n</span> | ||
<span>o</span> | ||
<span>w</span> | ||
</h1> | ||
|
||
<div class="row"> | ||
<div class="image"> | ||
<img src="imagess/book-img.jpg" alt=""> | ||
</div> | ||
|
||
<form action=""> | ||
|
||
<div class="inputBox"> | ||
<h3>where to</h3> | ||
<input type="text" placeholder="place name"> | ||
</div> | ||
<div class="inputBox"> | ||
<h3>how many</h3> | ||
<input type="number" placeholder="number of guests"> | ||
</div> | ||
<div class="inputBox"> | ||
<h3>arrivals</h3> | ||
<input type="date" placeholder="number of guests"> | ||
</div> | ||
<div class="inputBox"> | ||
<h3>leaving</h3> | ||
<input type="date" placeholder="number of guests"> | ||
</div> | ||
<input type="submit" class="btn" value="book now"> | ||
</form> | ||
</div> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
* { | ||
margin:0; | ||
padding:0; | ||
box-sizing:border-box; | ||
list-style-type: none; | ||
text-decoration: none; | ||
outline:none; | ||
border:none; | ||
text-transform: capitalize; | ||
transition: all .2s linear; | ||
} | ||
*::selection { | ||
background:var(--main-color); | ||
color:#fff; | ||
} | ||
html { | ||
font-size:62.5%; | ||
overflow-x:hidden; | ||
scroll-padding-top:6rem; | ||
scroll-behavior: smooth; | ||
} | ||
body { | ||
font-family: 'Nunito', sans-serif; | ||
height:2000px; | ||
} | ||
|
||
button,input[type="submit"] { | ||
cursor:pointer; | ||
} | ||
section { | ||
padding:2rem 9%; | ||
} | ||
.btn { | ||
display:inline-block; | ||
margin-top:1rem; | ||
background: var(--main-color); | ||
color:#fff; | ||
padding:.8rem 3rem; | ||
border:.2rem solid var(--main-color); | ||
cursor:pointer; | ||
font-size:1.7rem; | ||
} | ||
.btn:hover { | ||
background: rgba(255, 165, 0,0.2); | ||
color:var(--main-color); | ||
} | ||
.heading { | ||
text-align: center; | ||
padding:2.5rem 0; | ||
/* margin-bottom: 100px; */ | ||
} | ||
.heading span { | ||
font-size: 4.5rem; | ||
background: rgba(255,165,0,.5); | ||
color:var(--main-color); | ||
border-radius: .5rem; | ||
padding:.2rem 1rem; | ||
|
||
} | ||
.heading span.space { | ||
background:none; | ||
} | ||
.book .row { | ||
display: flex; | ||
flex-wrap: wrap; | ||
gap:1.5rem; | ||
align-items:center | ||
} | ||
.book .row .image { | ||
flex:1 1 40rem; | ||
} | ||
.book .row .image img { | ||
width:100%; | ||
} | ||
.book .row form { | ||
flex:1 1 40rem; | ||
padding:2rem; | ||
box-shadow: 0 1rem 2rem rgba(0,0,0,.1); | ||
border-radius: .5rem; | ||
} | ||
.book .row form .inputBox { | ||
padding:.5rem 0; | ||
} | ||
.book .row form .inputBox input { | ||
width:100%; | ||
padding:1rem; | ||
border:.1rem solid rgba(0,0,0,.1); | ||
font-size:1.7rem; | ||
color:#333; | ||
text-transform: none ; | ||
} | ||
.book .row form .inputBox h3 { | ||
font-size: 2rem; | ||
padding:1rem 0; | ||
color:#666; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters