Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *,
- *:after,
- *:before{
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- margin: 0;
- padding: 0;
- -webkit-overflow-scrolling: touch;
- -webkit-font-smoothing: antialiased;
- }
- html,body{
- position: relative;
- font-family: sans-serif;
- width: 100%;
- height: 100%;
- font-size: 16px;
- text-align: center;
- }
- a.btn{
- position: relative;
- text-decoration: none;
- font-size: 1rem;
- color: #fff;
- background: #333;
- padding: 1rem 2rem;
- border-radius: 6px;
- top: 50%;
- margin-top: -1.5rem;
- }
- .mordal-panel{
- position: fixed;
- width: 100vw;
- height: 100vh;
- top: 0;
- left: 0;
- padding: 2rem 1rem;
- background: rgba(0,0,0,0.6);
- z-index: 10;
- overflow: scroll;
- }
- .mordal-content{
- position: relative;
- top: 0;
- padding: 1rem;
- width: 60%;
- left: 20%;
- margin: 1rem 0;
- background: #fff;
- z-index: 15;
- height: auto;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement