Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
## HTML And CSS Template 3

Demo

https://elzerowebschool.github.io/HTML_And_CSS_Template_Three/

Learn How To Create The Design

https://www.youtube.com/watch?v=lXVP3rDH9EU&list=PLDoPjvoNmBAxuCSp2_-9LurPqRVwketnc

### If You Know JavaScript

You Can Add This Add-ons To The Design

- JavaScript Countdown => https://youtu.be/eFsiOTJrrE8
- Animate Width On Scrolling => https://youtu.be/sbIoIKI9FOc
- Increase Numbers On Scrolling => https://youtu.be/PLsUdgLnzgQ
## HTML And CSS Template 3
Demo
https://elzerowebschool.github.io/HTML_And_CSS_Template_Three/
Learn How To Create The Design
https://www.youtube.com/watch?v=lXVP3rDH9EU&list=PLDoPjvoNmBAxuCSp2_-9LurPqRVwketnc
### If You Know JavaScript
You Can Add This Add-ons To The Design
- JavaScript Countdown => https://youtu.be/eFsiOTJrrE8
- Animate Width On Scrolling => https://youtu.be/sbIoIKI9FOc
- Increase Numbers On Scrolling => https://youtu.be/PLsUdgLnzgQ
8 changes: 4 additions & 4 deletions css/all.min.css

Large diffs are not rendered by default.

98 changes: 89 additions & 9 deletions css/elzero.css
Original file line number Diff line number Diff line change
Expand Up @@ -1339,23 +1339,103 @@ ul {
flex-basis: 100%;
}
}
.discount .form .input {
/* CSS for animation pn input fields */
.form-group {
position: relative;
}
.form-input {
position: relative;
width: 100%;
height: 40px;
border-radius: 5px;
outline: none;
display: block;
width: 100%;
margin-bottom: 25px;
padding: 15px;
border: none;
border-bottom: 1px solid #ccc;
background-color: #f9f9f9;
caret-color: var(--main-color);
}
.discount .form textarea.input {
transition: all .5s ease;
}
.form-input.border-animation.set-1:hover{
border-color: rgba(0, 0, 0, .35);
box-shadow: 0 0 5px rgba(0, 0, 0, .2);
}
.form-input.smooth-corner {
border-radius: 5px;
}
.form-input.border-animation {
border: 2px solid rgba(0, 0, 0, .2);
}
.form-input.border-animation ~ .border-line-animation.top-bottom:before,
.form-input.border-animation ~ .border-line-animation.top-bottom:after,
.form-input.border-animation ~ .border-line-animation.left-right:before,
.form-input.border-animation ~ .border-line-animation.left-right:after,
.form-input.border-animation ~ .border-line-animation.top:before,
.form-input.border-animation ~ .border-line-animation.top:after,
.form-input.border-animation ~ .border-line-animation.bottom:before,
.form-input.border-animation ~ .border-line-animation.bottom:after,
.form-input.border-animation ~ .border-line-animation.left:before,
.form-input.border-animation ~ .border-line-animation.left:after,
.form-input.border-animation ~ .border-line-animation.right:before,
.form-input.border-animation ~ .border-line-animation.right:after{
position: absolute;
content: " ";
right: 0;
background: #4285F4;
transition: all .5s linear;
}
.form-input.border-animation ~ .border-line-animation.top-bottom:before,
.form-input.border-animation ~ .border-line-animation.top-bottom:after,
.form-input.border-animation ~ .border-line-animation.top:before,
.form-input.border-animation ~ .border-line-animation.top:after,
.form-input.border-animation ~ .border-line-animation.bottom:before,
.form-input.border-animation ~ .border-line-animation.bottom:after
{
width: 0;
height: 2px;
}
.form-input.border-animation ~ .border-line-animation.left-right:before,
.form-input.border-animation ~ .border-line-animation.left-right:after,
.form-input.border-animation ~ .border-line-animation.left:before,
.form-input.border-animation ~ .border-line-animation.left:after,
.form-input.border-animation ~ .border-line-animation.right:before,
.form-input.border-animation ~ .border-line-animation.right:after
{
width: 2px;
height: 0;
}
.form-input.border-animation.set-1 ~ .border-line-animation.top-bottom:before {
bottom: 0;
left: 0;
}
.form-input.border-animation.set-1 ~ .border-line-animation.top-bottom:after {
top: 0;
right: 0;
}
.form-input.border-animation.set-1 ~ .border-line-animation.left-right:before {
left: 0;
bottom: 0;
left: 0;
}
.form-input.border-animation.set-1 ~ .border-line-animation.left-right:after {
top: 0;
right: 0;
bottom: 0;
}
.form-input.border-animation.set-1:focus ~ .border-line-animation.top-bottom:before,
.form-input.border-animation.set-1:focus ~ .border-line-animation.top-bottom:after {
width: 100%;
}
.form-input.border-animation.set-1:focus ~ .border-line-animation.left-right:before,
.form-input.border-animation.set-1:focus ~ .border-line-animation.left-right:after {
height: 100%;
}
.discount .form .content .form-group textarea.input {
resize: none;
height: 200px;
}
.discount .form .input:focus {
outline: none;
}
/* End of animation css */

.discount .form [type="submit"] {
display: block;
width: 100%;
Expand Down
Loading