.modal {
/* general styles */
width: 500px;
height: 200px;
background-color: white;
display: grid;
place-items: center;
/* overlay */
box-shadow: 0 0 0 500vmax rgb(0 0 0 / 0.5);
}
/* a codepen to demonstrate: https://codepen.io/arq091/pen/RwMKOyZ */
Code Example |
---|
Css :: laravel enum column |
Css :: css prevent margin collapsing |
Css :: css add space left |
Css :: create cross icon using css |
Css :: arrow left css |
Css :: cursor couleur in css |
Css :: html css navbar with dropdown |
Css :: rotate keyfreame animation |
Css :: css for disabled button |
Css :: css square image |
Css :: css nth child |
Css :: Align bootstrap container centered vertically |
Css :: css button click color |
Css :: media queries |
Css :: ios safe area |
Css :: install tailwind css |
Css :: how to remove css from element using jquery |
Css :: horizontal scroll css images |
Css :: text change animation css |
Css :: gravity forms css classes |
Css :: how to change color of a tag in css |
Css :: css fadeout animation |
Css :: css hover a class change effect in another class |
Css :: how to center text in a div |
Css :: list elements vertically in html |
Css :: css move element to the right |
Css :: css pointer-events |
Css :: call css html |
Css :: grid-template-rows |
Css :: constraint barrier example |