cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-personicon-teamoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

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.

            
              <html lang="en">
<head>
  <!-- ΚΕ.ΠΛΗ.ΝΕ.Τ ΞΑΝΘΗΣ - No Copyright -->
  <title>Bootstrap Θέμα - Το Σχολείο μου</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- Bootstrap CSS -->
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
  <!-- Google fonts -->
  <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet" type="text/css">
  <link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css">
    <!-- jquery-->
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
  <!-- Bootstrap javascript -->
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
  <!-- CSS Ιστοσελίδας -->
  <style>
  body {
      font: 400 15px/1.8 Lato, sans-serif;
      color: #777;
  }
  h3, h4 {
      margin: 10px 0 30px 0;
      letter-spacing: 10px;      
      font-size: 20px;
      color: #3498DB;
  }
  .container {
      padding: 80px 120px;
  }
 
  .carousel-inner img {  
      width: 100%;
      margin: auto;
  }
  .carousel-caption h3 {
      background-color: #3498DB;
      color: #fff;
      padding: 20px;
      opacity: 0.9;
  }
  @media (max-width: 600px) {
    .carousel-caption {
      display: none; 
    }
  }
  .bg-1 {
      background: #3498DB;
      color: #fff;
  }
  .bg-1 h3 {color: #fff;}
  .bg-1 p {font-style: italic;}
  
  .thumbnail {
      padding: 0 0 15px 0;
      border: none;
      border-radius: 0;
  }
  .thumbnail p {
      margin-top: 15px;
      color: #555;
  }
  .btn {
      padding: 10px 20px;
      background-color: #3498DB;
      color: #f1f1f1;
      border-radius: 0;
      transition: .2s;
  }
  .btn:hover, .btn:focus {
      border: 1px solid #333;
      background-color: #fff;
      color: #000;
  }
  .modal-header, h4, .close {
      background-color: #333;
      color: #fff !important;
      text-align: center;
      font-size: 30px;
  }
  .modal-header, .modal-body {
      padding: 40px 50px;
  }
  .nav-tabs li a {
      color: #3498DB;
  }
  #googleMap {
      width: 100%;
      height: 400px;
      -webkit-filter: grayscale(100%);
      filter: grayscale(100%);
  }  
  .navbar {
      font-family: Montserrat, sans-serif;
      margin-bottom: 0;
      background-color: #3498DB;
      border: 0;
      font-size: 11px !important;
      letter-spacing: 4px;
      opacity: 0.9;
  }
  .navbar li a, .navbar .navbar-brand { 
      color: #fff !important;
  }
  .navbar-nav li a:hover {
      color: #ccc !important;
  }
  .navbar-nav li.active a {
      color: #fff !important;
      background-color: #29292c !important;
  }
  .navbar-default .navbar-toggle {
      border-color: transparent;
  }

  footer {
      background-color: #3498DB;
      color: #ffffff;
      padding: 32px;
  }
  footer a {
      color: #ffffff;
  }
  footer a:hover {
      color: #666666;
      text-decoration: none;
  }  
  .form-control {
      border-radius: 0;
  }
  textarea {
      resize: none;
  }
  </style>
</head>
<body id="start" data-spy="scroll" data-target=".navbar" data-offset="50">
<!-- Μενού -->
<nav class="navbar navbar-default navbar-fixed-top">
  <div class="container-fluid">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>                        
      </button>
      <a class="navbar-brand" href="#start">10ο ΓΥΜΝΑΣΙΟ ΞΑΝΘΗΣ</a>
    </div>
    <div class="collapse navbar-collapse" id="myNavbar">
      <ul class="nav navbar-nav navbar-right">
        <li><a href="#start">ΑΡΧΙΚΗ</a></li>
        <li><a href="#school">ΤΟ ΣΧΟΛΕΙΟ ΜΑΣ</a></li>
        <li><a href="#action">ΔΡΑΣΤΗΡΙΟΤΗΤΕΣ</a></li>
        <li><a href="#info">ΠΛΗΡΟΦΟΡΙΕΣ</a></li>
      </ul>
    </div>
  </div>
</nav>

 <!-- Carousel -->
<div id="myCarousel" class="carousel slide" data-ride="carousel">
    <!-- Wrapper for slides -->
    <div class="carousel-inner" role="listbox">
      <div class="item active">
        <img src="http://infolesson.com/wp-content/uploads/2016/10/stuttgart-1598427_1920.jpg" alt="image1" >
        <div class="carousel-caption">
          <h3>ΜΑΘΕΤΕ ΜΑΖΙ ΜΑΣ!</h3>
        </div>      
      </div>

      <div class="item">
        <img src="http://infolesson.com/wp-content/uploads/2016/10/mit-198486_1920.jpg" alt="image2" >
        <div class="carousel-caption">
          <h3>ΓΝΩΣΗ ΧΩΡΙΣ ΟΡΙΑ!</h3>
        </div>      
      </div>
      
      <div class="item">
        <img src="http://infolesson.com/wp-content/uploads/2016/10/hallway-802068_1920.jpg" alt="image3">
        <div class="carousel-caption">
          <h3>Η ΜΑΘΗΣΗ ΜΑΣ ΚΑΝΕΙ ΠΙΟ ΔΥΝΑΤΟΥΣ!</h3>
        </div>      
      </div>
      
    </div>
    <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
      <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
      <span class="sr-only">ΠΡΟΗΓΟΥΜΕΝΟ</span>
    </a>
    <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
      <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
      <span class="sr-only">ΕΠΟΜΕΝΟ</span>
    </a>
</div>

<!-- Τμήμα 1 - ΤΟ ΣΧΟΛΕΙΟ ΜΑΣ -->
<div id="school" class="container text-center">
  <h3>ΤΟ ΣΧΟΛΕΙΟ ΜΑΣ</h3>
  <p><em>Καλώς ήρθατε στον δικτυακό τόπο του σχολείου μας!</em></p>
  <p> Ανήκει στη Διεύθυνση Δευτεροβάθμιας Εκπαίδευσης Ξάνθης. Υπάγεται στην Α΄περιοχή και μοριοδοτείται με 3 μόρια. Το 10ο Γυμνάσιο Ξάνθης ιδρύθηκε το 1998. Το 2005 μεταφέρθηκε στην περιοχή Ανω Ραχούλα της Ξάνθης. Στο Γυμνάσιο λειτουργούν αυτή τη στιγμή 12 τμήματα με 300 παιδιά που ανήκουν σε όλα τα κοινωνικά στρώματα.</p>
  <br>
  <div class="row">
    <div class="col-sm-4">
      <a href="#demo" data-toggle="collapse">
        <img src="http://infolesson.com/wp-content/uploads/2016/10/stuttgart-1598427_1920.jpg" class="img-circle person" alt="Random Name" width="255" height="255">
      </a>
      <div id="demo" class="collapse">
        <p>ΒΙΒΛΙΟΘΗΚΗ</p>
      </div>
    </div>
    <div class="col-sm-4">
      <a href="#demo2" data-toggle="collapse">
        <img src="http://infolesson.com/wp-content/uploads/2016/10/mit-198486_1920.jpg" class="img-circle person" alt="Random Name" width="255" height="255">
      </a>
      <div id="demo2" class="collapse">
        <p>ΚΤΗΡΙΟ</p>
      </div>
    </div>
    <div class="col-sm-4">
      <a href="#demo3" data-toggle="collapse">
        <img src="http://infolesson.com/wp-content/uploads/2016/10/hallway-802068_1920.jpg" class="img-circle person" alt="Random Name" width="255" height="255">
      </a>
      <div id="demo3" class="collapse">
        <p>ΑΙΘΟΥΣΑ ΔΙΔΑΣΚΑΛΙΑΣ</p>
      </div>
    </div>
  </div>
</div>

<!-- Τμήμα 2 - ΔΡΑΣΤΗΡΙΟΤΗΤΕΣ -->
<div id="action" class="bg-1">
  <div class="container">
    <h3 class="text-center">ΔΡΑΣΤΗΡΙΟΤΗΤΕΣ</h3>
    <p class="text-center">Δείτε τις δραστηριότητες του σχολείου μας!</p>
    
    <div class="row text-center">
      <div class="col-sm-4">
        <div class="thumbnail">
          <img src="http://infolesson.com/wp-content/uploads/2016/10/kuwait-252613_960_7201.jpg" alt="image1"  height="250">
          <p><strong>Γιορτή 25 Μαρτίου</strong></p>
          <p>25 Μαρτίου 2015</p>
          <button class="btn" data-toggle="modal" data-target="#myModal">ΔΕΙΤΕ!</button>
        </div>
      </div>
      <div class="col-sm-4">
        <div class="thumbnail">
          <img src="http://infolesson.com/wp-content/uploads/2016/10/kuwait-252613_960_7201.jpg" alt="image2"  height="250">
          <p><strong>Εκδρομή στην Αθήνα</strong></p>
          <p>25 Απριλίου 2015</p>
          <button class="btn" data-toggle="modal" data-target="#myModal">ΔΕΙΤΕ!</button>
        </div>
      </div>
      <div class="col-sm-4">
        <div class="thumbnail">
          <img src="http://infolesson.com/wp-content/uploads/2016/10/kuwait-252613_960_7201.jpg" alt="image3"  height="250">
          <p><strong>Γιορτή 28 Οκτωβρίου</strong></p>
          <p>28 Οκτωβρίου 2015</p>
          <button class="btn" data-toggle="modal" data-target="#myModal">ΔΕΙΤΕ!</button>
        </div>
      </div>
    </div>
    <div class="row text-center">
      <div class="col-sm-4">
        <div class="thumbnail">
          <img src="http://infolesson.com/wp-content/uploads/2016/10/kuwait-252613_960_7201.jpg" alt="image1"  height="250">
          <p><strong>Γιορτή 25 Μαρτίου</strong></p>
          <p>25 Μαρτίου 2015</p>
          <button class="btn" data-toggle="modal" data-target="#myModal">ΔΕΙΤΕ!</button>
        </div>
      </div>
      <div class="col-sm-4">
        <div class="thumbnail">
          <img src="http://infolesson.com/wp-content/uploads/2016/10/kuwait-252613_960_7201.jpg" alt="image2"  height="250">
          <p><strong>Εκδρομή στην Αθήνα</strong></p>
          <p>25 Απριλίου 2015</p>
          <button class="btn" data-toggle="modal" data-target="#myModal">ΔΕΙΤΕ!</button>
        </div>
      </div>
      <div class="col-sm-4">
        <div class="thumbnail">
          <img src="http://infolesson.com/wp-content/uploads/2016/10/kuwait-252613_960_7201.jpg" alt="image3"  height="250">
          <p><strong>Γιορτή 28 Οκτωβρίου</strong></p>
          <p>28 Οκτωβρίου 2015</p>
          <button class="btn" data-toggle="modal" data-target="#myModal">ΔΕΙΤΕ!</button>
        </div>
      </div>
    </div>
    <div class="row text-center">
      <div class="col-sm-4">
        <div class="thumbnail">
          <img src="http://infolesson.com/wp-content/uploads/2016/10/kuwait-252613_960_7201.jpg" alt="image1"  height="250">
          <p><strong>Γιορτή 25 Μαρτίου</strong></p>
          <p>25 Μαρτίου 2015</p>
          <button class="btn" data-toggle="modal" data-target="#myModal">ΔΕΙΤΕ!</button>
        </div>
      </div>
      <div class="col-sm-4">
        <div class="thumbnail">
          <img src="http://infolesson.com/wp-content/uploads/2016/10/kuwait-252613_960_7201.jpg" alt="image2"  height="250">
          <p><strong>Εκδρομή στην Αθήνα</strong></p>
          <p>25 Απριλίου 2015</p>
          <button class="btn" data-toggle="modal" data-target="#myModal">ΔΕΙΤΕ!</button>
        </div>
      </div>
      <div class="col-sm-4">
        <div class="thumbnail">
          <img src="http://infolesson.com/wp-content/uploads/2016/10/kuwait-252613_960_7201.jpg" alt="image3"  height="250">
          <p><strong>Γιορτή 28 Οκτωβρίου</strong></p>
          <p>28 Οκτωβρίου 2015</p>
          <button class="btn" data-toggle="modal" data-target="#myModal">ΔΕΙΤΕ!</button>
        </div>
      </div>
    </div>
  </div>
  
  <!-- Παράθυρο Modal με responsive βίντεο -->
  <div class="modal fade" id="myModal" role="dialog">
    <div class="modal-dialog">
    
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal">×</button>
          <h4> Βίντεο</h4>
        </div>
        <div class="modal-body">
         <div class="embed-responsive embed-responsive-16by9">
          <iframe class="embed-responsive-item" src="https://player.vimeo.com/external/166339039.sd.mp4?s=a8880de7f67290441903e38283610258f8eccf82"></iframe>
          </div>
        </div>

      </div>
    </div>
  </div>
</div>


<!-- Τμήμα 3 - ΕΠΙΚΟΙΝΩΝΙΑ -->
<div id="info" class="container">
  <h3 class="text-center">ΕΠΙΚΟΙΝΩΝΙΑ</h3>

  <div class="row">
    <div class="col-md-4">
      <p><span class="glyphicon glyphicon-map-marker"></span>ΞΑΝΘΗ, ΕΛΛΑΔΑ</p>
      <p><span class="glyphicon glyphicon-phone"></span>ΤΗΛΕΦΩΝΟ: +00 1111111111</p>
      <p><span class="glyphicon glyphicon-envelope"></span>Email: mail@mail.com</p>	   
    </div>
    <div class="col-md-8">
      <div class="row">
        <div class="col-sm-6 form-group">
          <input class="form-control" id="name" name="name" placeholder="Name" type="text" required>
        </div>
        <div class="col-sm-6 form-group">
          <input class="form-control" id="email" name="email" placeholder="Email" type="email" required>
        </div>
      </div>
      <textarea class="form-control" id="comments" name="comments" placeholder="Comment" rows="5"></textarea>
      <br>
      <div class="row">
        <div class="col-md-12 form-group">
          <button class="btn pull-right" type="submit">ΑΠΟΣΤΟΛΗ</button>
        </div>
      </div>	
    </div>
  </div> 
</div>

<div id="googleMap"></div>

<!-- Google Maps -->
<script src="https://maps.googleapis.com/maps/api/js"></script>
<script>
var myCenter = new google.maps.LatLng(41.1299886, 24.8864193);

function initialize() {
var mapProp = {
center:myCenter,
zoom:15,
scrollwheel:false,
draggable:false,
mapTypeId:google.maps.MapTypeId.ROADMAP
};

var map = new google.maps.Map(document.getElementById("googleMap"),mapProp);

var marker = new google.maps.Marker({
position:myCenter,
});

marker.setMap(map);
}

google.maps.event.addDomListener(window, 'load', initialize);
</script>

<!-- Footer -->
<footer class="text-center">
  <a class="up-arrow" href="#start" data-toggle="tooltip" title="TO TOP">
    <span class="glyphicon glyphicon-chevron-up"></span>
  </a><br><br>
  <p>Bootstrap Θέμα απο το <a href="http://infolesson.com" data-toggle="tooltip" title="infolesson.com">Infolesson.com</a></p> 
</footer>

 <!-- jquery scroll-->
<script>
$(document).ready(function(){
  // Initialize Tooltip
  $('[data-toggle="tooltip"]').tooltip(); 
  
  // Add smooth scrolling to all links in navbar + footer link
  $(".navbar a, footer a[href='#start']").on('click', function(event) {

    // Prevent default anchor click behavior
    event.preventDefault();

    // Store hash
    var hash = this.hash;

    // Using jQuery's animate() method to add smooth page scroll
    // The optional number (900) specifies the number of milliseconds it takes to scroll to the specified area
    $('html, body').animate({
      scrollTop: $(hash).offset().top
    }, 900, function(){
   
      // Add hash (#) to URL when done scrolling (default click behavior)
      window.location.hash = hash;
    });
  });
})
</script>

</body>
</html>
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console