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

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
Copyright sayzlim ©
  • HTML
  • CSS
<!DOCTYPE html>
<html lang="en" >

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



  <div class="native-js">


<script src="" type="text/javascript"></script>
    if(typeof _native !== 'undefined' && _native) {
      _native.init('CKYIT2QJ', {
        targetClass: 'native-js'



/*Downloaded from */
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;