-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
671dd56
commit 0bacd0c
Showing
5 changed files
with
450 additions
and
19 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,58 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
/* border: 1px solid red; */ | ||
} | ||
|
||
.bookTripForm { | ||
border: 1px solid white; | ||
border-radius: 5px; | ||
padding: 20px 10px; | ||
width: 80vw; | ||
min-height: calc(10vw + 20px); | ||
background: #fff; | ||
font-size: small; | ||
} | ||
|
||
.formSection label { | ||
position: relative; | ||
padding: 0 3px; | ||
} | ||
|
||
.formSection label .input { | ||
width: 100%; | ||
padding: 10px 10px 20px 20px; | ||
outline: 0; | ||
border: 1px solid rgba(105, 105, 105, 0.397); | ||
border-radius: 10px; | ||
} | ||
|
||
.formSection label .input + span { | ||
position: absolute; | ||
left: 10px; | ||
top: 15px; | ||
color: grey; | ||
font-size: 0.9em; | ||
cursor: text; | ||
transition: 0.3s ease; | ||
} | ||
|
||
.formSection label .input:placeholder-shown + span { | ||
top: 15px; | ||
font-size: 0.9em; | ||
} | ||
|
||
.formSection label .input:focus + span,.formSection label .input:valid + span { | ||
top: 30px; | ||
font-size: 0.7em; | ||
font-weight: 600; | ||
} | ||
|
||
|
||
/* CSS for Responsive */ | ||
|
||
@media screen and (min-width: 1000px) { | ||
|
||
/* */ | ||
} |
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
Oops, something went wrong.