Search
 
SCRIPT & CODE EXAMPLE
 

CSS

scratch card HTML

<div  class="scratch-container">
 <div id="promo"  class= "scratchpad"></div>
</div>
<div class="promo-container" style="display:none;">
 <div class="promo-code"></div>
  <a  href="https://www.kwiklearners.com" 
    target="_blank" class="btn">Register Now</a>
</div>
Comment

scratch card css

html 
    {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
.scratchpad{
  width: 450px;
  height: 445px;
  border:  solid 10px #FFFFFF;
   margin: 0 auto;
}
 body {
     background  :#efefef;
}
.scratch-container {
   -webkit-touch-callout : none;
   -webkit-user-select : none;
   -khtml-user-select : none;
   -moz-user-select : none;
   -ms-user-select : none;
   user-select : none;
   width :100%;
}
 @media only screen and ( max-width  : 480px) {
   .scratchpad { width :400px; height:396px;}
   .scratch-container { width :400px !important;}

 

 @media only screen and ( max-width : 320px) {
   .scratchpad { width:290px; height:287px;}
   .scratch-container { width:290px !important;}
}
 . promo-container {
     background:#FFF;
     border-radius:5px;
     -moz-border-radius:5px;
     -webkit-border-radius:5px;
     width:450px;
     padding:20px;
     margin:0 auto;
     text-align:center;
     font-family:'Open Sans', Arial,Sans-serif;
     color:#333;
     font-size:16px;
     margin-top:20px;
}
 . btn {
   background :#56CFD2;
   color :#FFF;
   padding :10px 25px;
   display :inline-block;
   margin-top :15px;
   text-decoration :none;
   font-weight :600;
   text-transform:uppercase;
   border-radius :3px;
   -moz-border-radius :3px;
   -webkit-border-radiuss :3px;
}
 </style>
Comment

PREVIOUS NEXT
Code Example
Css :: enable gutenberg for post 
Css :: framework grille scss 
Css :: mac menu bar height 
Css :: css infinite horizontal scroll with keyframe? 
Css :: css margin-top 1px 9 
Css :: showing danger message in red in terminal bash 
Css :: change svg color in pseudo element 
Css :: Creating Hashnode logo with CSS 
Css :: media screen use another css file 
Css :: creating a static flex container with scrolling child element 
Css :: hover above image tip tool 
Css :: use PurifyCSS with hugo 
Css :: background css hachures 
Css :: animacion de gota css 
Css :: nokogiri xml diff 
Css :: order 
Css :: font sizze xss 
Css :: scrollbar width css 
Css :: ie11 image stretching 
Css :: chrome extension detect copy action 
Css :: Use pkg_* Tools To Manage Packages 
Css :: verified icon css 
Css :: css battle 54 char 
Css :: How to Reveal Content on Hover with Expanding Corner Tabs in Divi 
Css :: how to overwrite a css importnat 
Css :: practice html and css 
Css :: Do not use empty rulesetscss(emptyRules) 
Typescript :: remove dots from ul li 
Typescript :: python get file contents as string 
Typescript :: import lodash issue angular 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =