Tuesday, 24 January 2017

Graphic Design

BOOTSTRAP LINKS

<meta charset="utf-8">

<meta name="viewport" content="width=device-width, initial-scale=1"> 

NAVIGATION

<nav class="navbar navbar-default navbar-fixed-top">
            <div class="container">
                <div class="">
                    <div class="navbar-header">

                        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                            <span class="sr-only">Toggle navigation</span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>

                        <div class="logo">
                          <a href="#home" class="page-scroll"><img src="images/logo.png"></a>
                        </div>
                    </div>
                    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                             
                        <ul class="nav navbar-nav navbar-right">
                          <li><a href="#about-us" class="page-scroll">Home</a></li>
                          <li><a href="#products" class="page-scroll"> About</a></li>
                          <li><a href="#services" class="page-scroll">Our services</a></li>
                          <li><a href="#contact-us" class="page-scroll">Contact us</a></li>
                        </ul>
                        
                    </div>
                </div>
            </div>
          </nav>

TAB

<div class="container"> <ul class="nav nav-pills"> <li class="active"><a data-toggle="pill" href="#home">Home</a></li> <li><a data-toggle="pill" href="#menu1">Menu 1</a></li> <li><a data-toggle="pill" href="#menu2">Menu 2</a></li> <li><a data-toggle="pill" href="#menu3">Menu 3</a></li> </ul> <div class="tab-content"> <div id="home" class="tab-pane fade in active"> <h3>HOME</h3> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div> <div id="menu1" class="tab-pane fade"> <h3>Menu 1</h3> <p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p> </div> <div id="menu2" class="tab-pane fade"> <h3>Menu 2</h3> <p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.</p> </div> <div id="menu3" class="tab-pane fade"> <h3>Menu 3</h3> <p>Eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.</p> </div> </div> </div>

SLIDER

<div class="container">
    <div id="myCarousel" class="carousel slide" data-ride="carousel">
      <ol class="carousel-indicators">
        <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
        <li data-target="#myCarousel" data-slide-to="1"></li>
        <li data-target="#myCarousel" data-slide-to="2"></li>
      </ol>

    <div class="carousel-inner">

      <div class="item active">
        <img src="duha.jpg" alt="Los Angeles" style="width:100%;">
        <div class="carousel-caption">
          <h3>Los Angeles</h3>
          <p>LA is always so much fun!</p>
        </div>
      </div>

      <div class="item">
        <img src="duha.jpg" alt="Chicago" style="width:100%;">
        <div class="carousel-caption">
          <h3>Chicago</h3>
          <p>Thank you, Chicago!</p>
        </div>
      </div>
    
      <div class="item">
        <img src="duha.jpg" alt="New York" style="width:100%;">
        <div class="carousel-caption">
          <h3>New York</h3>
          <p>We love the Big Apple!</p>
        </div>
      </div>
  
    </div>

        <a class="left carousel-control" href="#myCarousel" data-slide="prev" style="background-image: none;">
          <span class="glyphicon glyphicon-chevron-left" style="background-image: none;"> </span>
          <span class="sr-only">Previous</span>
        </a>
        <a class="right carousel-control" href="#myCarousel" data-slide="next" style="background-image: none;">
          <span class="glyphicon glyphicon-chevron-right" style="background-image: none;"></span>
          <span class="sr-only">Next</span>
        </a>
    </div>
  </div>


POPUP

<button id="submit">Submit</button>

      <div id="popup" class="popup-style">
        <div class="popup-content">
          <div class="popup-header">
            <span class="popup-close">&times;</span>
            <h2>Modal Header</h2>
          </div>
          <div class="popup-body">
            <p>Some text in the Modal Body</p>
            <p>Some other text...</p>
          </div>
          <div class="popup-footer">
            <h3>Modal Footer</h3>
          </div>
        </div>
      </div>


<script>
var modal = document.getElementById('popup');
var btn = document.getElementById("submit");
var span = document.getElementsByClassName("popup-close")[0];
btn.onclick = function() {
    modal.style.display = "block";
}
span.onclick = function() {
    modal.style.display = "none";
}
window.onclick = function(event) {
    if (event.target == modal) {
        modal.style.display = "none";
    }
}
</script> 

<style>

.popup-style {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.popup-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}
@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}
.popup-close {
    color: black;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.popup-close:hover,
.popup-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.popup-header {
    padding: 2px 16px;
    background-color: white;
    color: black;
    border-bottom: solid 1px #ccc;
}
.popup-body {padding: 2px 16px;}

.popup-footer {
    padding: 2px 16px;
    background-color: white;
    color: black;
    border-top: solid 1px #ccc;
}
</style> 



























































HOARDING





Books



Notice


SHOP BOARD

PACKAGE









DANGLER


ADVERTISEMENT


COVER PAGE





VEHICLE BRANDING


COUPON DESIGN


LOGO