Native - Single Line Sponsor Demo

In this example below you will see how to do a Native - Single Line Sponsor Demo with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by sayzlim, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright sayzlim ©
  • HTML
  • CSS
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>Native - Single Line Sponsor Demo</title>
  
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <div class="native-js">

</div>

<script src="https://codepen.io/sayzlim/pen/geOONP.js" type="text/javascript"></script>
<script>
  (function(){
    if(typeof _native !== 'undefined' && _native) {
      _native.init('CKYIT2QJ', {
        targetClass: 'native-js'
      });
    }
  })();
</script>
  
  

</body>

</html>

/*Downloaded from https://www.codeseek.co/sayzlim/native-single-line-sponsor-demo-KRpoOQ */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu,
    Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.native-js {
  visibility: 0;
  opacity: 0;
  transition: all .25s ease-in-out;
}

.native-show {
  opacity: 1;
}

Comments