Created
December 28, 2019 14:14
-
-
Save Ze1598/29b8ce44f83ee07761e65784dfc4ad8b to your computer and use it in GitHub Desktop.
Reusable modal component: styles.css
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
html, body { | |
height: 100%; | |
} | |
body { | |
margin: 0; | |
font-family: Arial, Helvetica, sans-serif; | |
display: grid; | |
justify-items: center; | |
align-items: center; | |
background-color: #3a3a3a; | |
} | |
/* Overwrite the styles of the mat-dialog-container element globally, but only for those | |
that have an id of `modal-component` */ | |
/* https://stackoverflow.com/a/48689004/9263761 */ | |
mat-dialog-container#modal-component { | |
border: 3px solid #262626; | |
border-radius: 11px; | |
background-color: #1a1a1a; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment