cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              <div id="clash">
  <table>
    <tr>
      <td><a href="#timer">Tajmer</a></td>
      <td><a href="#oigri">O igri</a></td>
      <td><a href="#oautoru">O autoru</a></td>
      <td><a href="#katre">Karte</a></td>
      <td><a href="#slajdshow">Slajd show</a></td>
      <td><a href="#mreze">Drustvene mreze</a></td>
    </tr>
  </table>
</div>

<div id="oigri">
  <div id="oigrilevo">
    <h2 class="naslov">What is Clash Royale?
   Clash Royale is a fast paced, card based PvP brawler. Collect Clash troops, and use them to wreak havoc on your opponent’s towers! </h2>
    <p class="tekst">.</p>
  </div>
  <div id="oigridesno">
    <div style="position:relative;height:0;padding-bottom:56.25%"><iframe src="https://www.youtube.com/embed/HAB6OPF9EhQ?ecver=2" width="640" height="360" frameborder="0" style="position:absolute;width:100%;height:100%;left:0" allowfullscreen></iframe></div>X
  </div>

</div>

<div id="oautoru">
  <div id="oautorulevo">
    <p class="tekst">Supercell is a mobile game developer based in Helsinki, Finland, with offices in San Francisco, Tokyo, Seoul and Beijing. Its games are available for tablets and smartphones using both Apple’s iOS and Google’s Android operating systems. Since its
      founding in 2010, Supercell has brought four games to the market - Hay Day, Clash of Clans, Boom Beach and Clash Royale.
  </div>
</div>
<div id="oautorumapa">
  <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d89398.14937283646!2d24.917411145715036!3d60.17917051338004!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x46920bc796210691%3A0xcd4ebd843be2f763!2z0KXQtdC70YHQuNC90LrQuCwg0KTQuNC90YHQutCw!5e0!3m2!1ssr!2srs!4v1494438891147"
    width="600" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>
</div>
<br />
<div id "karte">
  


</div>


<div id="slajdshow">
  <img id="slajder_slika" src="http://www.mobipicker.com/wp-content/uploads/2017/03/maxresdefault-1024x576-1.jpg" alt="slajde slika" height="500" />
</div>
<div id="Dugmici">
  <button id="back" onclick="prethodnaslika()">Back</button>
  <button id="next" onclick="sledecaslika()">Next</button>
</div>
<div id="mreze">
  <span class="mreze">Mozete me pratiti na drustvenim mrezama</span>
  <ul>
    <li>
      <a target="-blank" href="https://www.facebook.com/"><img src='https://facebookbrand.com/wp-content/themes/fb-branding/prj-fb-branding/assets/images/fb-art.png' height="50" alt="facebook logo"></img>
      </a>
    </li>
    <a target="-blank" href="https://www.instagram.com/"><img src="http://freelogozone.com/Data/Logo/preview-2016_instagram_logo.png" height="50" alt="instagram logo"></img>
    </a>
    </li>
    <li>
      </a>
      <a target="_blank" href="https://www.youtube.com/channel/UC_F8DoJf9MZogEOU51TpTbQ"><img src=http://i0.kym-cdn.com/entries/icons/original/000/004/562/maxresdefault.jpg height="50" alt="youtube logo"></img>
      </a>
    </li>
  </ul>
</div>
            
          
!
            
              #oigrilevo {
   float: left;
  margin-left: 5%;
  width: 40%;
  margin-right: 5%;
  height: 400px;
  margin-bottom: 20px; 
}
#oigridesno {
  float: left;
  width: 45%;
  margin-right: 5%;
  height: 400px;
  margin-bottom: 20px;
}


#oautorulevo {
float: left;
  border: 5px solid blue;
font-size:20px;  
  text-align:center;
}
#oautorumapa {
  float: left;
  width: 300px;
  margin-bottom: 50px;
  margin-left:25%;
  margin-top:50px;
  margin-right:25%;
}
 

#slajdshow{
  text-align: center;
}

#Dugmici{
  text-align: center;
}


#mreze li {
  display: inline;   
}

#mreze a {
  text-decoration: none;
}

.mreze {
  font-size: 20px;
}

#clash {
  margin-right: 20%;
  width:100%;
  height: 25px;
  margin-bottom: 10px;
  margin-top: 10px;
}

#clash table {
  width: 50%;
  margin-left:25%;
}

#clash a:hover {
  color: red;
  font-size: 18pt;
  text-decoration: none;
}
            
          
!
            
              var brojac = 0;

var slike = new Array();

slike[0]
="http://www.mobipicker.com/wp-content/uploads/2017/03/maxresdefault-1024x576-1.jpg"

slike[1]
="https://pbs.twimg.com/profile_images/683897875206684674/oBvObTIz.png"

slike[2]
="https://clashroyale.com/uploaded-images/emotes_thumbs.jpg?mtime=20160609032025"

slike[3]
="http://clashroyalearena.com/wp-content/uploads/2016/11/sad-face-clash-royale.png"

function sledecaslika(){
if(brojac == 3){
 brojac = 0;
}else {
  brojac++;
}
  
 document.getElementById("slajder_slika").src = slike[brojac]
}

function prethodnaslika(){
 if(brojac == 0){
 brojac = 2;  
 } else{
   brojac--;
 }
document.getElementById("slajder_slika").src = slike[brojac];
}

var timer; 


            
          
!
999px
Loading ..................

Console