File tree Expand file tree Collapse file tree 1 file changed +74
-1
lines changed
Expand file tree Collapse file tree 1 file changed +74
-1
lines changed Original file line number Diff line number Diff line change 1- table {
1+ table {
22 width : 100% ;
33 border-collapse : collapse;
44 margin : 20px 0 ;
@@ -30,3 +30,76 @@ tr:nth-child(even) {
3030 background-color : pink;
3131}
3232
33+
34+ .chemistryshowbutton {
35+ min-width : 130px ;
36+ height : 40px ;
37+ color : # fff ;
38+ padding : 5px 10px ;
39+ font-weight : bold;
40+ cursor : pointer;
41+ transition : all 0.3s ease;
42+ position : relative;
43+ display : inline-block;
44+ outline : none;
45+ border-radius : 5px ;
46+ z-index : 0 ;
47+ background : # fff ;
48+ overflow : hidden;
49+ border : 2px solid # ff0a78 ;
50+ color : # ff0a78 ;
51+ }
52+ .chemistryshowbutton : hover {
53+ color : # fff ;
54+ }
55+ .chemistryshowbutton : hover : after {
56+ width : 100% ;
57+ }
58+ .chemistryshowbutton : after {
59+ content : "" ;
60+ position : absolute;
61+ z-index : -1 ;
62+ transition : all 0.3s ease;
63+ right : 0 ;
64+ top : 0 ;
65+ width : 0 ;
66+ height : 100% ;
67+ background : # ff0a78 ;
68+ }
69+
70+
71+ .physicsshowbutton {
72+ min-width : 130px ;
73+ height : 40px ;
74+ color : # fff ;
75+ padding : 5px 10px ;
76+ font-weight : bold;
77+ cursor : pointer;
78+ transition : all 0.3s ease;
79+ position : relative;
80+ display : inline-block;
81+ outline : none;
82+ border-radius : 5px ;
83+ z-index : 0 ;
84+ background : # fff ;
85+ overflow : hidden;
86+ border : 2px solid powderblue;
87+ color : powderblue;
88+ }
89+ .physicsshowbutton : hover {
90+ color : # fff ;
91+ }
92+ .physicsshowbutton : hover : after {
93+ width : 100% ;
94+ }
95+ .physicsshowbutton : after {
96+ content : "" ;
97+ position : absolute;
98+ z-index : -1 ;
99+ transition : all 0.3s ease;
100+ right : 0 ;
101+ top : 0 ;
102+ width : 0 ;
103+ height : 100% ;
104+ background : powderblue;
105+ }
You can’t perform that action at this time.
0 commit comments