File tree Expand file tree Collapse file tree 3 files changed +105
-1
lines changed Expand file tree Collapse file tree 3 files changed +105
-1
lines changed Original file line number Diff line number Diff line change 1414 background-color : rgb (229 , 9 , 20 );
1515}
1616
17+ .tonal {
18+ background-color : # 43aa8b ;
19+ }
20+
1721.demo {
1822 background-color : # 35cce0 ;
1923}
Original file line number Diff line number Diff line change 1- /* Add your css for textfields */
1+ /* Add your css for textfields */
2+
3+
4+
5+ /* Tonal Mathew : start */
6+
7+ .form-tonal {
8+ margin : 100px ;
9+ }
10+
11+ .input-field-tonal {
12+ position : relative;
13+ width : 250px ;
14+ height : 44px ;
15+ line-height : 44px ;
16+ }
17+
18+ .label-tonal {
19+ position : absolute;
20+ top : 0 ;
21+ left : 0 ;
22+ width : 100% ;
23+ color : # 43aa8b ;
24+ transition : 0.2s all;
25+ cursor : text;
26+ }
27+
28+ .input-tonal {
29+ width : 100% ;
30+ border : 0 ;
31+ outline : 0 ;
32+ padding : 0.5rem 0 ;
33+ border-bottom : 2px solid # 43aa8b ;
34+ box-shadow : none;
35+ color : # 111 ;
36+ }
37+
38+ .input-tonal : invalid {
39+ outline : 0 ;
40+ }
41+
42+ .input-tonal : required {
43+ color : # 00dd22 ;
44+ }
45+
46+ .input-tonal : focus ,
47+ .input-tonal : valid {
48+ border-color : # 00dd22 ;
49+ }
50+
51+ .input-tonal : focus ~ label ,
52+ .input-tonal : valid ~ label {
53+ font-size : 14px ;
54+ top : -24px ;
55+ color : # 00dd22 ;
56+ } /* Tonal Mathew : end */
Original file line number Diff line number Diff line change @@ -47,6 +47,51 @@ <h3>Add your different textfields</h3>
4747 < div class ="container-fluid ">
4848 <!-- your name -->
4949 <!-- Add your html content that you have copied from contributors.md along with you component -->
50+
51+
52+
53+ <!-- Tonal Mathew -->
54+ < div class ="row ">
55+ < div class ="col-lg-6 ">
56+ < div class ="component ">
57+ < div class ="card magictime ">
58+ < div class ="card-title tonal ">
59+ < strong > Textfield</ strong >
60+ </ div >
61+ < div class ="card-content ">
62+ < form class ="form-tonal " action ="">
63+ < div class ="input-field-tonal ">
64+ < input class ="input-tonal " type ="text " id ="name " required />
65+ < label class ="label-tonal " for ="name "> Your name:</ label >
66+ </ div >
67+ </ form >
68+ </ div >
69+ </ div >
70+ </ div >
71+ </ div >
72+ < div class ="col-lg-6 ">
73+ < div class ="component ">
74+ < div class ="card magictime ">
75+ < div class ="card-title tonal ">
76+ < strong > Creator</ strong >
77+ </ div >
78+ < div class ="card-content ">
79+ < div class ="creater-name ">
80+ < h2 >
81+ < b > Name:</ b >
82+ < span >
83+ < a href ="https://github.com/tonalmathew "> Tonal Mathew</ a >
84+ </ span >
85+ </ h2 >
86+ </ div >
87+ </ div >
88+ </ div >
89+ </ div >
90+ </ div >
91+ </ div >
92+
93+
94+
5095 </ div >
5196 </ section >
5297 < footer >
You can’t perform that action at this time.
0 commit comments