Skip to content

Commit ae61876

Browse files
committed
Cleaned up the code
1 parent 8a693fb commit ae61876

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

css/style.css

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -155,22 +155,21 @@ footer {
155155

156156
.popup .popuptext {
157157
visibility: hidden;
158-
width: 160px;
158+
width: 20rem;
159159
background-color: rgb(51, 51, 51);
160160
color: #ffffff;
161161
text-align: center;
162-
border-radius: 6px;
163-
padding: 8px 0;
162+
border-radius: .5rem;
163+
padding: .7rem 0;
164164
position: absolute;
165165
z-index: 1;
166166
bottom: 125%;
167-
left: 50%;
168-
margin-left: -80px;
167+
left: 17%;
168+
margin-left: -75px;
169169
}
170170

171171
.popup .show {
172172
visibility: visible;
173-
-webkit-animation: fadeIn 2s;
174173
animation: fadeIn 2s;
175174
}
176175

0 commit comments

Comments
 (0)