Created
October 6, 2020 01:27
-
-
Save desoga10/8a7bb0eaf30a5c59ccc059204570efa2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.btn{ | |
position: absolute; | |
top: 50%; | |
left: 50%; | |
transform: translate(-50%, -50%); | |
background: pink; | |
font-size: 20px; | |
color: white; | |
padding: 10px 30px; | |
cursor: pointer; | |
} | |
#box{ | |
width: 500px; | |
overflow: hidden; | |
background: pink; | |
box-shadow: 0 0 10px black; | |
border-radius: 10px; | |
position: absolute; | |
top: 50%; | |
left: 50%; | |
transform: translate(-50%, -50%); | |
z-index: 9999; | |
padding: 10px; | |
text-align: center; | |
display: none; | |
} | |
#box span{ | |
color: hotpink; | |
font-size: 40px; | |
display: block; | |
margin: 20px 0; | |
} | |
#box h1{ | |
color: brown | |
} | |
.close{ | |
font-size: 18px; | |
color: white; | |
padding: 10px 20px; | |
cursor: pointer; | |
background: rgb(111, 111, 223); | |
display: inline-block; | |
border-radius: 1px solid #000; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment