Skip to content
This repository was archived by the owner on Sep 5, 2019. It is now read-only.

Commit f551532

Browse files
authored
Change class name
1 parent 4bd0bc6 commit f551532

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/css/style.modal.box.css

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
modal box
44
*/
5-
.modal {
5+
.modal-box {
66
background-color: rgba(0,0,0,0.8);
77
pointer-events: none;
88
transition: opacity 100ms ease-in;
@@ -15,12 +15,12 @@
1515
top: 0;
1616
}
1717

18-
.modal:target {
18+
.modal-box:target {
1919
pointer-events: auto;
2020
opacity: 1;
2121
}
2222

23-
.modal > div {
23+
.modal-box > div {
2424
background-color: white;
2525
border-radius: 6px;
2626
position: relative;
@@ -29,7 +29,7 @@
2929
width: 400px;
3030
}
3131

32-
.modal .close {
32+
.modal-box .modal-close {
3333
background-color: #444;
3434
text-decoration: none;
3535
border-radius: 30px;
@@ -41,6 +41,6 @@
4141
top: -10px;
4242
}
4343

44-
.modal .close:hover {
44+
.modal-box .modal-close:hover {
4545
background-color: #585858;
4646
}

0 commit comments

Comments
 (0)