Main-RaYtRiP.com

In this example below you will see how to do a Main-RaYtRiP.com with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by Raymond7in, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright Raymond7in ©

Technologies

  • HTML
  • CSS
  • JavaScript
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>Main-RaYtRiP.com</title>
  
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <head>
  <!-- Theme Made By Raymond M - Copyright -->
  <!-- Contact raymond7in@gmail.com for code reuse -->
  <title>RayBuy.com</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">


  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
  <style>
  body {
      
      line-height: 1.8;
      color: #818181;
  }
  h2 {
    font-family: 'Vollkorn', helvetica;
    font-size: 2.0rem; 
    
      text-transform: uppercase;
      color: #303030;
      font-weight: 600;
      margin-bottom: 30px;
  }
  h4 {
    font-family: 'Vollkorn', helvetica;
    font-size: 2.0rem; 
    
      line-height: 1.375em;
      color: #303030;
      font-weight: 400;
      margin-bottom: 30px;
  }  
  .jumbotron {
    font-family: 'Vollkorn', helvetica;
    font-size: 2.0rem; 
    background: rgba(255, 0, 0, 0.8);
      color: #fff;
      padding: 100px 25px;
     }
  .container-fluid {
    font-family: 'Vollkorn', helvetica;
    font-size: 2.0rem; 
    padding: 60px 50px;
  }
  .bg-grey {
    font-family: 'Vollkorn', helvetica;
    font-size: 2.0rem; 
    background-color: #f6f6f6;
  }
  .logo-small {
    color: #f4511e;
      font-size: 50px;
  }
  .logo {
    color: #f4511e;
      font-size: 200px;
  }
  .thumbnail {
    padding: 0 0 15px 0;
      border: none;
      border-radius: 0;
  }
  .thumbnail img {
      width: 100%;
      height: 100%;
    margin-bottom: 10px;
  }
  .carousel-control.right, .carousel-control.left {
      background-image: none;
    font-family: 'Vollkorn', helvetica;
    font-size: 2.0rem; 
      color: #f4511e;
  }
  .carousel-indicators li {
    font-family: 'Vollkorn', helvetica;
    font-size: 2.0rem; 
      border-color: #f4511e;
  }
  .carousel-indicators li.active {
      background-color: #f4511e;
    font-family: 'Vollkorn', helvetica;
    font-size: 2.0rem; 
  }
  .item h4 {
     font-family: 'Vollkorn', helvetica;
    font-size: 2.0rem; 
      line-height: 1.375em;
      font-weight: 400;
      font-style: italic;
      margin: 70px 0;
  }
  .item span {
   font-family: 'Vollkorn', helvetica;
    font-size: 2.0rem; 
    
  }
  .panel {
      border: 1px solid #f4511e; 
      border-radius:0 !important;
      transition: box-shadow 0.5s;
  font-family: 'Vollkorn', helvetica;
    font-size: 2.0rem; 
    }
  .panel:hover {
      box-shadow: 5px 0px 40px rgba(0,0,0, .2);
    font-family: 'Vollkorn', helvetica;
    font-size: 2.0rem; 
  }
  .panel-footer .btn:hover {
      border: 1px solid #f4511e;
      background-color: #fff !important;
      color: #f4511e;
  font-family: 'Vollkorn', helvetica;
    font-size: 2.0rem; 
    }
  .panel-heading {
      color: #fff !important;
      background-color: #f4511e !important;
      padding: 25px;
      border-bottom: 1px solid transparent;
      border-top-left-radius: 0px;
      border-top-right-radius: 0px;
      border-bottom-left-radius: 0px;
      border-bottom-right-radius: 0px;
  font-family: 'Vollkorn', helvetica;
    font-size: 2.0rem; 
    }
  .panel-footer {
    font-family: 'Vollkorn', helvetica;
    font-size: 2.0rem;   
    background-color: white !important;
  }
  .panel-footer h3 {
      font-family: 'Vollkorn', helvetica;
    font-size: 2.0rem; 
  }
  .panel-footer h4 {
      color: #aaa;
      font-family: 'Vollkorn', helvetica;
    font-size: 2.0rem; 
  }
  .panel-footer .btn {
      margin: 15px 0;
      background-color: #f4511e;
      color: #fff;
    font-family: 'Vollkorn', helvetica;
    font-size: 2.0rem; 
  }
  .navbar {
      margin-bottom: 0;
   background: rgba(255, 0, 0, 0.8);
      z-index: 9999;
      border: 0;
      font-size: 12px !important;
      line-height: 1.42857143 !important;
      letter-spacing: 4px;
      border-radius: 0;
    font-family: 'Vollkorn', helvetica;
    font-size: 2.0rem; 
  }
  .navbar li a, .navbar .navbar-brand {
      color: #fff !important;
    font-family: 'Vollkorn', helvetica;
    font-size: 1.7rem; 
  }
  .navbar-nav li a:hover, .navbar-nav li.active a {
      color: #f4511e !important;
      background-color: #fff !important;
    font-family: 'Vollkorn', helvetica;
    font-size: 2.0rem; 
  }
  .navbar-default .navbar-toggle {
      border-color: transparent;
      color: #fff !important;
    font-family: 'Vollkorn', helvetica;
    font-size: 2.0rem; 
  }
  footer .glyphicon {
      margin-bottom: 20px;
      color: #f4511e;
  }
  .slideanim {visibility:hidden;}
  .slide {
      animation-name: slide;
      -webkit-animation-name: slide;
      animation-duration: 1s;
      -webkit-animation-duration: 1s;
      visibility: visible;
  }
  @keyframes slide {
    0% {
      opacity: 0;
      transform: translateY(70%);
    } 
    100% {
      opacity: 1;
      transform: translateY(0%);
    }
  }
  @-webkit-keyframes slide {
    0% {
      opacity: 0;
      -webkit-transform: translateY(70%);
    } 
    100% {
      opacity: 1;
      -webkit-transform: translateY(0%);
    }
  }
  @media screen and (max-width: 768px) {
    .col-sm-4 {
      text-align: center;
      margin: 25px 0;
    }
    .btn-lg {
        width: 100%;
        margin-bottom: 35px;
    }
  }
  @media screen and (max-width: 480px) {
    .logo {
        font-size: 150px;
    }
  }
  </style>
</head>
<body id="myPage" data-spy="scroll" data-target=".navbar" data-offset="60">

<nav class="navbar navbar-default navbar-fixed-top">
  <div class="container">
    <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="#myPage">Logo</a>
    </div>
    <div class="collapse navbar-collapse" id="myNavbar">
      <ul class="nav navbar-nav navbar-right">
        <li><a href="#about"> BOOKINGS</a></li>
        <li>  <a href="#contact">REPORT</a></li>
        
      </ul>
    </div>
  </div>
</nav>

<div class="jumbotron text-center">
  <h1>RaYtRiP.com</h1> 
  <p>Anytime.,Anywhere!!</p> 
  <form>
    <div class="input-group">
      <div class="input-group-btn">
        <button type="button" class="btn btn-danger"><big><b>MY BOOKINGS</b></big></button>
      </div>  <div class="input-group-btn">
      <button type="button" class="btn btn-danger"><big><b>SIGN UP</b></big></button>
      </div>
    </div>
    
  </form>
</div>

<!-- Container (About Section) -->
  
<div id="about" class="container-fluid">
 <h2 class="text-center">BOOKINGS</h2> 
  <div id="myCarousel" class="carousel slide" data-ride="carousel">
    <!-- Indicators -->
    <ol class="carousel-indicators">
      <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
      <li data-target="#myCarousel" data-slide-to="1"></li>
    </ol>

    <!-- Wrapper for slides -->
    <div class="carousel-inner" role="listbox">
      <div class="item active">
        <img src="https://placehold.it/1200x400?text=IMAGE" alt="Image">
        <div class="carousel-caption">
          <h3>Sell $</h3>
          <p>Money Money.</p>
        </div>      
      </div>

      <div class="item">
        <img src="https://placehold.it/1200x400?text=Another Image Maybe" alt="Image">
        <div class="carousel-caption">
          <h3>More Sell $</h3>
          <p>Lorem ipsum...</p>
        </div>      
      </div>
    </div>

    <!-- Left and right controls -->
    <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">Previous</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">Next</span>
    </a>
</div>
  
<div class="container text-center">    
  <h3>What We Do</h3><br>
  <div class="row">
    <div class="col-sm-4">
      <img src="https://placehold.it/150x80?text=IMAGE" class="img-responsive" style="width:100%" alt="Image">
      <p>Current Project</p>
    </div>
    <div class="col-sm-4"> 
      <img src="https://placehold.it/150x80?text=IMAGE" class="img-responsive" style="width:100%" alt="Image">
      <p>Project 2</p>    
    </div>
    <div class="col-sm-4"> 
      <img src="https://placehold.it/150x80?text=IMAGE" class="img-responsive" style="width:100%" alt="Image">
      <p>Project 2</p>    
    </div>
      </div>
</div>

</div>

<!-- Container (Contact Section) -->
<div id="contact" class="container-fluid bg-grey">
  <h2 class="text-center">CONTACT</h2>
  <div class="row">
    <div class="col-sm-5">
      <p>Contact us and we'll get back to you within 24 hours.</p>
      <p><span class="glyphicon glyphicon-map-marker"></span> Chennai, INDIA</p>
      <p><span class="glyphicon glyphicon-phone"></span> +91 9715576660</p>
      <p><span class="glyphicon glyphicon-envelope"></span> raytrip.com@raysmart.com</p>
    </div>
    <div class="col-sm-7 slideanim">
      <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-sm-12 form-group">
          <button class="btn btn-default pull-right" type="submit">Send</button>
        </div>
      </div>
    </div>
  </div>
</div>


<footer class="container-fluid text-center">
  <a href="#myPage" title="To Top">
    <span class="glyphicon glyphicon-chevron-up"></span>
  </a>
 <br> 
  			<p>
          Follow us on<p>
  <p> <i class="fa fa-facebook fa-2x "></i></p>
 <p><i class="fa fa-twitter fa-2x"></i></p>
<p><i class="fa fa-github fa-2x"></i></p>
<h><b>
  &copy; Raymond M    |    raymond7in@gmail.com </b></h>
</footer>

<!-- Contact Raymond M for copyrights -->
  
  

    <script  src="js/index.js"></script>




</body>

</html>

/*Downloaded from https://www.codeseek.co/Raymond7in/main-raytripcom-qrOpvg */
@import url('https://fonts.googleapis.com/css?family=Vollkorn');
@import url('https://fonts.googleapis.com/css?family=Unica+One');

.footer-sticky ul
{
    padding-bottom: 20px; 

    list-style: none;
}
.footer-sticky ul li
{
    display: inline-block;
    float: left;

    margin-top: 30px; 
    margin-left: 30px;
}
.footer-sticky ul li a
{
    color: #eceff1;
}
.footer-sticky ul li a:hover
{
    color: #b71c1c;
}
.footer-sticky ul #footer-copyright
{
    font-family: 'Vollkorn', helvetica;
    font-size: 1.6rem; 
    float: right;

    color: #eceff1;
}

.footer-sticky ul #footer-copyright1
{
    font-family: 'Vollkorn', helvetica;
    font-size: 1.6rem; 
    float: left;

    color: #eceff1;
}



/*Downloaded from https://www.codeseek.co/Raymond7in/main-raytripcom-qrOpvg */

$(document).ready(function(){
  // Add smooth scrolling to all links in navbar + footer link
  $(".navbar a, footer a[href='#myPage']").on('click', function(event) {
    // Make sure this.hash has a value before overriding default behavior
    if (this.hash !== "") {
      // 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;
      });
    } // End if
  });
  
  $(window).scroll(function() {
    $(".slideanim").each(function(){
      var pos = $(this).offset().top;

      var winTop = $(window).scrollTop();
        if (pos < winTop + 600) {
          $(this).addClass("slide");
        }
    });
  });
})

Comments