Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

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.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <!DOCTYPE html>
<html>
<head>
	<title></title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
	<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.14.0/css/all.css" integrity="sha384-HzLeBuhoNPvSl5KYnjx0BT+WB0QEEqLprO+NBkkk5gbc67FTaL7XIGa2w1L0Xbgc" crossorigin="anonymous"><!-- fontawesom cdn link -->


	<link rel="stylesheet" type="text/css" href="css/estyle.css">
</head>
</head>
<body>
	<div class = "container">
		<div class = "row">
			<div class = "col-md-2 mt-2">
				  <a class="navbar-brand" href="#"><img src="https://bootstrap-ecommerce.com/bootstrap-ecommerce-html/images/logo.png"alt = "image of logo" class = "img-fluid "></a>
			</div>
	
			<div class = "col-md-7">
				<div class="input-group mt-3">
  <input type="text" class="form-control" placeholder="Search" aria-label="Recipient's username" aria-describedby="button-addon2">
  <div class="input-group-append">
    <button class="btn btn-primary" type="button" id="button-addon2"><i class="fas fa-search"></i></button>
  </div>
</div>
			</div>


			<div class = "col-md-3 mt-3">
				<div class = "circle float-right">
						<i class="fas fa-shopping-cart text-muted"></i>
						<span class="badge badge-danger">0</span>
				
				</div>
				<div class = "circle float-right mr-4">
						<i class="fas fa-user text-muted"data-target="#exampleModal" data-toggle="modal"></i>
						<span class="badge badge-danger">0</span>
				
				</div>
			</div>
		</div>
</div>
<hr>
<div class = "container">
	<nav class="navbar navbar-expand-lg navbar-light " id="navbar">
  
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>
  <div class="collapse navbar-collapse" id="navbarNavDropdown">
    <ul class="navbar-nav" id="nav">
      <li class="nav-item active">
        <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="#">About</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="#">Supermarket</a>
      </li>
       <li class="nav-item">
        <a class="nav-link" href="#">Paternship</a>
      </li>
       <li class="nav-item">
        <a class="nav-link" href="#">Baby & toys</a>
      </li>
       <li class="nav-item">
        <a class="nav-link" href="#">Fitness sports</a>
      </li>
       <li class="nav-item">
        <a class="nav-link" href="#">Clothing</a>
      </li>
       <li class="nav-item">
        <a class="nav-link" href="#">Furniture</a>
      </li>

      <li class="nav-item dropdown">
        <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
          More
        </a>
        <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
          <a class="dropdown-item" href="#">Food & Drinks</a>
          <a class="dropdown-item" href="#">Home interior </a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" href="#">Category 1</a>
          <a class="dropdown-item" href="#">Category 2</a>
          <a class="dropdown-item" href="#">Category 3</a>
        </div>
      </li>
    </ul>
  </div>
</nav>
</div>
<hr id="hr">
<div class =  "container">
	<div class = "row">
		<div class = "col-md-3">
			<ul class="list-group mt-5" id="list-ul">
  <li class="list-group-item">Best Clothes</li>
  <li class="list-group-item">Automobiles</li>
  <li class="list-group-item">Home interior</li>
  <li class="list-group-item">Electronics</li>
  <li class="list-group-item">Technologies</li>
  <li class="list-group-item dropdown dropright"><a class="dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">More</a>
  	<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
          <a class="dropdown-item" href="#">Submenu name</a>
          <a class="dropdown-item" href="#">Greatmenu name</a>
          <a class="dropdown-item" href="#">Another menu</a>
          <a class="dropdown-item" href="#">Same others</a>
      
        </div>
  </li>
 </ul>
			
		</div>
		<div class = "col-md-9">
			<div id="carouselExampleSlidesOnly" class="carousel slide" data-ride="carousel">
  <div class="carousel-inner mt-5"id="car">
    <div class="carousel-item active">
      <img class="d-block w-100" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTYKdc4-EM4JhSkmgKMC4nIuGKv_dexn7KyXw&usqp=CAU" alt="First slide">
    </div>
    <div class="carousel-item">
      <img class="d-block w-100" src="https://cdn.shopify.com/s/files/1/0074/0429/0111/files/Homepage-free-shipping-banner_1350x600.jpg?v=1591817221" alt="Second slide">
    </div>
    <div class="carousel-item">
      <img class="d-block w-100" src="https://i.pinimg.com/originals/df/c1/f9/dfc1f9ba2734aa94690f009d721440d7.jpg" alt="Third slide">
    </div>
  </div>
</div>
			
		</div>
	</div>
</div>

<div class = "products">
  <div class = "container">
    <button class = "btn btn-sm btn-outline-primary float-right mt-5 but">See all</button>
    <h1 class = "pt-5 pb-5">Popular Products</h1>

    <div class = "row">
      <div class = "col-md-3">
        <div class="card">
  <img class="card-img-top" src="https://bootstrap-ecommerce.com/bootstrap-ecommerce-html/images/items/1.jpg" alt="Card image cap">
  <div class="card-body">
    <p class="card-text"><a href="https://codepen.io/deep890/pen/oNYdqMx" class = text-dark>Denim shirt</a></p>
    <h4 class = pb-0 pt-0>$12</h4>
  </div>
</div>
        
      </div>
      <div class = "col-md-3">
              <div class="card">
  <img class="card-img-top" src="https://bootstrap-ecommerce.com/bootstrap-ecommerce-html/images/items/2.jpg" alt="Card image cap">
  <div class="card-body">
    <p class="card-text text-dark"><a href = "" class = text-dark>Leather Jacket</a></p>
    <h4 class = pb-0>$20</h4>
  </div>
      </div>
    </div>

      <div class = "col-md-3">
              <div class="card">
  <img class="card-img-top" src="https://bootstrap-ecommerce.com/bootstrap-ecommerce-html/images/items/3.jpg" alt="Card image cap">
  <div class="card-body">
    <p class="card-text"><a href = "" class = text-dark>Denim shorts</a></p>
    <h4 class = pb-0>$10</h4>
  </div>
      </div>
      </div>

      <div class = "col-md-3">
              <div class="card">
  <img class="card-img-top" src="https://bootstrap-ecommerce.com/bootstrap-ecommerce-html/images/items/4.jpg" alt="Card image cap">
  <div class="card-body">
    <p class="card-text"><a href = "" class = text-dark>Denim Bag</a></p>
    <h4 class = pb-0>$5</h4>
  </div>
      </div>
    </div>
  
</div>
<div class = "row">
        <div class = "col-md-3">
              <div class="card mt-3">
  <img class="card-img-top" src="https://bootstrap-ecommerce.com/bootstrap-ecommerce-html/images/items/5.jpg" alt="Card image cap">
  <div class="card-body">
    <p class="card-text"><a href = "" class = text-dark>Laptop Cover</a></p>
    <h4 class = pb-0>$10</h4>
  </div>
      </div>
    </div>
          <div class = "col-md-3">
              <div class="card mt-3">
  <img class="card-img-top" src="https://bootstrap-ecommerce.com/bootstrap-ecommerce-html/images/items/6.jpg" alt="Card image cap">
  <div class="card-body">
    <p class="card-text"><a href = "" class = text-dark></a>Couch</p>
    <h4 class = pb-0>$890</h4>
  </div>
      </div>
    </div>
              <div class = "col-md-3">
              <div class="card mt-3">
  <img class="card-img-top" src="https://bootstrap-ecommerce.com/bootstrap-ecommerce-html/images/items/7.jpg" alt="Card image cap">
  <div class="card-body">
    <p class="card-text"><a href = "" class = text-dark>Apple Watch</a></p>
    <h4 class = pb-0>$600</h4>
  </div>
      </div>
    </div>
              <div class = "col-md-3 mt-3">
              <div class="card">
  <img class="card-img-top" src="https://bootstrap-ecommerce.com/bootstrap-ecommerce-html/images/items/8.jpg" alt="Card image cap">
  <div class="card-body">
    <p class="card-text"><a href = "" class = text-dark>Airpods</a></p>
    <h4 class = pb-0>$500</h4>
  </div>
      </div>
    </div>


  
</div>
</div>
</div>
<div class = "ok">
  <div class = "container">
    <div class = "row">
      
      <div class="col-md-8">
        <h3 class="mt-5">Download app demo text</h3>
        <p>Get an amazing app to make your life easy</p>
    </div>
    <div class="col-md-4">
      <img src="https://bootstrap-ecommerce.com/bootstrap-ecommerce-html/images/misc/appstore.png" class = "mt-5" id="cool">
  </div>

</div>
</div>

</div>
<footer>
  <div class = "container">
    <div class = "row">
      <div class = "col-md-3">
  <ul>
    <h6 class="mt-5">Brands</h6>
    <li><a href = "">Adidas</a></li>
    <li><a href="">Puma</a></li>
    <li><a href = "">Reebok</a></li>
    <li><a href="">Nike</a></li>
  </ul>
</div>

   <div class = "col-md-3">
  <ul>
    <h6 class="mt-5">Company</h6>
    <li><a href="">About us</a></li>
    <li><a href="">Career</a></li>
       <li><a href="">Find a store</a></li>
          <li><a href="">Rules and terms</a></li>
             <li><a href="">Sitemap</a></li>
  </ul>
</div>


<div class = "col-md-3">
<ul>
    <h6 class="mt-5">Account</h6>
    <li><a href="">User Login</a></li>
    <li><a href="">User register</a></li>
       <li><a href="">Account Setting</a></li>
          <li><a href="">My Orders</a></li>
          
  </ul>
</div>

<div class = "col-md-3">
<ul>
    <h6 class="mt-5">Social</h6>
    <li><a href=""><i class="fab fa-facebook"></i> Facebook</a></li>
    <li><a href=""><i class="fab fa-twitter"></i> Twitter</a></li>
       <li><a href=""><i class="fab fa-instagram"></i> Instagram</a></li>
          <li><a href=""><i class="fab fa-youtube"></i> Youtube</a></li>
          
  </ul>
</div>

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



<!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header  bg-primary">
        <h5 class="modal-title text-light" id="exampleModalLabel">Sign In</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
       <form>
  <div class="form-group">
    <!--<label for="exampleInputEmail1">Email address</label>-->
    <input type="email" class="form-control mb-3" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email">
  <div class="form-group">
    <!--<label for="exampleInputPassword1">Password</label>-->
    <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
  </div>
  <button type="submit" class="btn btn-primary mt-2">Submit</button>
</form> 
      </div>
      <div class = "signup">
        <p class = "float-right text-muted">If not registered,<a href="register.html"class="text-muted"> register now!</a></p>
      </div>
      
    </div>
  </div>
</div>

	
		


</body>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
</html>
              
            
!

CSS

              
                .circle{border-radius: 50%;height:50px;width:50px;border:1px solid #ccc;
padding:0.7rem;text-align: center;}
.badge{position: absolute;top:0px; right:10px;}
hr{margin-bottom: 0rem !important;}
#nav li a{color:#000;}
#nav li{padding:0 10px;}
#nav li a:hover{color:#ccc;}
#hr{margin-top: 0rem !important;}
#car{border-radius: 12px;}
a:hover{text-decoration: none;}
#list-ul li a {color:#000;}
#list-ul .dropright .dropdown-toggle::after{margin-left: 160px !important;}
.card-body{padding:0 23px;}
.card h4{margin-top: -15px;}
.but{border-radius: 10px; padding:7px 15px;}
.col-md-3 .card:hover{box-shadow: 0 4px 15px rgb(153 153 153 / 30%)}
 footer .col-md-3 ul li{list-style: none;}
 footer .col-md-3 ul a{color:#000;}
 h6{font-weight: bold}
.ok{background:#f8f9fa; padding-bottom: 20px;margin-top: 30px;}
#cool{height:50px;width:100px;margin-left: 200px;}
.color{background-color:lightblue;padding-top: 70px;padding-bottom: 70px;}
.form{background-color: #fff;border:1px solid #fff;padding:20px;}
#circlee{position: relative;}
#login-badge{position: absolute;top:-5px;right:0px;}

.mytabs{margin-top:3rem;}
.mytabs .nav-link {
display: block;
padding: .5rem 9rem;border-bottom: 2px solid #000 !important;
font-weight: 700;
}
.mytabs .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {

border-color: transparent !important;
color:#ff6600;
;}
.wrap-text{padding: 1rem;}

              
            
!

JS

              
                
              
            
!
999px

Console