current location: Home > Download > JS effects > jQuery effects > jQuery CSS3 form input box verification code with animated effects
jQuery CSS3 form input box verification code with animated effects
Classify: JS effects / jQuery effects | Release time: 2018-01-09 | visits: 1154 |
Download: 34 |
Latest Downloads
Fantasy Aquarium
Girls Frontline
Wings of Stars
Little Flower Fairy Fairy Paradise
Restaurant Cute Story
Shanhe Travel Exploration
Love and Producer
The most powerful brain 3
Odd Dust: Damila
Young Journey to the West 2
24 HoursReading Leaderboard
- 1 Andrew Tate Announces Plans to Invest $1 Million in $DADDY Coin Once He Reaches 10 Million Followers
- 2 Liskov Substitution Principle
- 3 Interface Segregation Principle
- 4 What's moving Sensex and Nifty
- 5 Cristiano Ronaldo Launches New NFT Collection Amidst a Judicial Crisis
- 6 Mastering Overflow Scroll Gradient with CSS
- 7 Adept Unveils Advanced AI Agents with Multimodal Capabilities
- 8 FTX's Proposed Reorganization Plan Faces Legal Challenges Despite Creditor Support
- 9 Pseudonymous Analyst Bluntz Predicts Huge Upside Move Is Coming for Ethereum (ETH)-Based Memecoin Pepe (PEPE)
- 10 Dormant Bitcoin Wallet From the Satoshi Era Suddenly Comes to Life
- 11 Advanced SCSS: Function and Mixins
- 12 XRP Can Double to $1 by 2025, but Don't Expect It to Skyrocket from There
- 13 Cardano (ADA) Price Ready to Drop ‘Bombshell’ as Secret Catalyst Emerges
- 14 Single Responsibility Principle
- 15 Doge2014: A New Token to Honor and Celebrate 10 Years of Dogecoin
Latest Tutorials
-
- Go language practical GraphQL
- 1334 2024-04-19
-
- 550W fan master learns JavaScript from scratch step by step
- 2733 2024-04-18
-
- Getting Started with MySQL (Teacher mosh)
- 1249 2024-04-07
-
- Mock.js | Axios.js | Json | Ajax--Ten days of quality class
- 2102 2024-03-29
html,
body {
background-color: #F4F4F4;
display: flex;
width: 100%;
height: 100%;
align-items: center;
font-family: "Work Sans", sans-serif;
justify-content: center;
}
.exp-container {
width: 100%;
padding: 30px;
box-sizing: border-box;
max-width: 600px;
}
.exp {
display: flex;
flex-direction: column-reverse;
width: 100%;
margin-bottom: 30px;
position: relative;
flex-wrap: wrap;
}
.exp__label {
transition: 0.3s;
margin-bottom: 5px;
}
.exp__label:before {
content: attr(data-icon);
font-weight: normal;
font-family: "Ionicons";
font-size: 24px;
position: absolute;
left: 0;
transform: rotateY(90deg);
bottom: 0;
height: 52px;
background: transparent;
color: #000;
transform-origin: left;
display: flex;
align-items: center;
justify-content: center;
transition: color .3s 0s ease, transform .3s 0s ease;
width: 42px;
}
.exp__input {
border: 1px solid #ddd;
padding: 0 10px;
width: 100%;
height: 52px;
transition: 0.3s;
font-weight: normal;
box-sizing: border-box;
font-family: "Work Sans", sans-serif;
outline: none;
}
.exp__input:focus {
padding-left: 42px;
border-color: #bbb;
}
.exp__input:focus + label:before {
transform: rotateY(0deg);
}
.exp__input:valid {
padding-left: 42px;
border-color: green;
}
.exp__input:valid + label {
color: green;
}
非常简单的一款带动画效果的CSS3表单输入框验证代码,当输入框聚焦时出现图标动画,还有验证邮箱地址格式是否正确等功能。