File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -41,20 +41,17 @@ author_profile: true
4141 </div >
4242</div >
4343
44- <script >
45- function openModal (id ) {
46- document .getElementById (id).style .display = " block" ;
47- }
48-
44+ <style >
4945.modal {
5046 display : none ;
5147 position : fixed ;
5248 z-index : 1000 ;
53- left: 0 ; top: 0 ;
54- width: 100 % ; height: 100 % ;
49+ left : 0 ;
50+ top : 0 ;
51+ width : 100% ;
52+ height : 100% ;
5553 background-color : rgba (0 ,0 ,0 ,0.8 );
5654}
57-
5855.modal-content {
5956 background-color : #111 ;
6057 margin : 10% auto ;
@@ -64,15 +61,20 @@ function openModal(id) {
6461 color : #e0f7fa ;
6562 box-shadow : 0 0 20px #00ffe7 ;
6663}
67-
6864.close {
6965 color : #00ffe7 ;
7066 float : right ;
7167 font-size : 28px ;
7268 cursor : pointer ;
7369}
70+ </style >
7471
72+ <script >
73+ function openModal (id ) {
74+ document .getElementById (id).style .display = " block" ;
75+ }
7576function closeModal (id ) {
7677 document .getElementById (id).style .display = " none" ;
7778}
7879</script >
80+
You can’t perform that action at this time.
0 commit comments