Skip to content

Commit 04aff31

Browse files
Update syllabus.css
1 parent bc6d08b commit 04aff31

File tree

1 file changed

+74
-1
lines changed

1 file changed

+74
-1
lines changed

syllabus.css

Lines changed: 74 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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+
}

0 commit comments

Comments
 (0)