"Paragraph Show more show less "
Bootstrap 3.3.0 Snippet by imsachin

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://fonts.googleapis.com/css?family=Lato:300,400,700|Roboto:300,400,500,700" rel="stylesheet"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" <link rel="stylesheet" href="./css/font-awesome.min.css"> <link rel="icon" href="./images/favicon.png" type="image/x-icon" /> <link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> <link rel="stylesheet" href="./css/style.css"> </head> <body> <!--header--> <header class="mainNav"> <div class="container"> <div class="row"> <div class="col-md-4 col-xs-12"> <!-- Logo --> <div class="logoBox"> <a class="" href="/"> <img src="/images/logo.png" alt="Image" title="" class="img-responsive"> </a> <a class="mCall visible-xs" href="tel:0000000000" title="Call"><i class="fa fa-phone" aria-hidden="true"></i> Call </a> </div> </div> <div class="col-md-4 col-xs-12"></div> <div class="col-md-4 col-xs-12 hidden-xs"> <div class="phone-no"> <small>Call (24 x 7) </small> <a href="tel:0000000000" title="Call" class="mob mobBlink"> <i class="fa fa-phone-square"></i> 0000000000</a> </div> </div> </div> </div> <nav class="navbar navbar-default"> <div class="container"> <div class="row"> <!-- Logo --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <!-- Nav --> <div class="collapse navbar-collapse js-navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav"> <li class=""><a href="/">Home</a></li> <li class="dropdown mega-dropdown"> <a href="#" class="active dropdown-toggle" data-toggle="dropdown">2s<span class="caret"></span></a> <ul class="dropdown-menu mega-dropdown-menu"> <li><a href="/umrah/easter-umrah-packages">1</a></li> <li><a href="/umrah/ramadan-umrah-packages">2</a></li> </ul> </li> <li class="dropdown mega-dropdown"> <a href="#" class="active dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></a> <ul class="dropdown-menu mega-dropdown-menu row"> <li><a href="/hajj/3-star-hajj-packages">1</a></li> <li><a href="/hajj/5-star-hajj-packages">2</a></li> </ul> </li> <li><a href="#" class="hidden">6</a></li> </ul> </div> </div> </div> </nav> </header> <!--content--> <div class="container"> <div class="row"> <div class="col-md-12 para1"> <h4>ssssssssss</h4> <p class="text-justify"></p> <div class="morecontentwrap"> <p class="text-justify">ABC</p> </div> <input type="button" class="showMoreBtn" value="Read More +"> </div> </div> </div> <!--footer--> <section class="container-fluid"> <div class="row footerEnd"> <div class="container"> <div class="row"> <p class="text-center socialIcon"> <a href="#"> <i class="fa fa-facebook fa-2x" aria-hidden="true"></i></a> <a href="#"> <i class="fa fa-instagram fa-2x" aria-hidden="true"></i></a> <a href="#"> <i class="fa fa-linkedin fa-2x" aria-hidden="true"></i></a> <a href="#"> <i class="fa fa-tumblr fa-2x" aria-hidden="true"></i></a> <a href="#"> <i class="fa fa-twitter fa-2x" aria-hidden="true"></i></a> </p> </div> <div class="row footerLinks"> <div class="col-md-3 col-sm-3 col-xs-12"> <h4>Quick Links</h4> <ul> <li> <a href="/">1</a> </li> <li> <a href="/about-us"> 2 </a> </li> </ul> </div> <div class="col-md-3 col-sm-3 col-xs-12"> <h4>Our Product</h4> <ul> <li> <a href="/hajj/3-star-hajj-packages"> 1</a> </li> </ul> </div> <div class="col-md-3 col-sm-3 col-xs-12"> <h4>Site Directory</h4> <ul> <li> <a href="">1 </a> </li> </ul> </div> <div class="col-md-3 col-sm-3 col-xs-12"> <h4>Reach Us</h4> <ul> <li> <i class="fa fa-map-marker" aria-hidden="true"></i>Address </li> <li> <a href="tel:@GlobalData.Phone" title="Call"> <i class="fa fa-phone" aria-hidden="true"></i>Phone</a></li> <li> <a href="mailto:@GlobalData.Email" title="Call"> <i class="fa fa-envelope" aria-hidden="true"></i>Email</a> </li> </ul> </div> </div> <div class="row"> <div class="col-xs-12"> <p class="footerP"> <span class="dis"> Disclaimer :</span> </p> </div> </div> </div> </div> <div class="row baseFooter"> <div class="col-xs-12"> <p class="mr0"> Copyright © 2019 . All rights reserved. </p> </div> </div> </section> <script> $('.showMoreBtn').click(function () { $(this).prev(".morecontentwrap").slideToggle(); $(this).val($(this).val() == 'Read More +' ? 'Show Less -' : 'Read More +'); }); </script>
html,body {/*font-family: 'Roboto', sans-serif;*/ font-family: 'Josefin Sans', sans-serif;color:#000;} ul li{margin:0px;padding:0px;} /* Common */ .mr0 {margin: 0;} .pd0 {padding: 0;} .mrT10 {margin-top: 10px;} .mrT20 {margin-top: 20px;} .mrT30 {margin-top: 30px;} .mrT40 {margin-top: 40px;} .mrB10 {margin-bottom: 10px;} .mrB20 {margin-bottom: 20px;} .mrB30 {margin-bottom: 30px;} .pT10 {padding-top: 10px;} .pT20 {padding-top: 20px;} .pB10 {padding-bottom: 10px;} .pB20 {padding-bottom: 20px;} .relative {position: relative;} .width100 {width: 100%;} .colorG {color: #21c6b9;} .colorw{color:#fff;} .pdr15{padding-right: 15px;} .pdl15{padding-left: 15px;} .pdR {padding-right:5px;} .pdL {padding-left:5px;} * -- Main Nav -- */ .mainNav { background-color: #ffffff; border-color: #ffffff;margin-bottom: 0;padding-top: 10px;} .mainNav .logoBox {position: relative;} .mainNav .logoBox img {height: 59px;width: 200px;} .mainNav .phone-no {position: relative; float: right;} .mainNav .phone-no a {font-size: 24px;font-weight: 700;margin-top: 15px;color: #009ade;float: left;} .mainNav .phone-no a:hover {color: #009ade;text-decoration: none;} .mainNav .phone-no a i {color: #009ade;} .mainNav .phone-no small {position: absolute;top: 1px;left: 25px;color: #000;} .mainNav .navbar-default {background-color: #009ade;background-image: linear-gradient(0deg,#009ade,#009ade,#19ade8,#009ade);border-color: transparent;border-radius: 0;margin-bottom: 0;padding: 8px 0; min-height: auto;} /* .mainNav .navbar-default .navbar-nav > li:first-child > a {font-size: 28px;padding: 4px 10px;} */ /* .mainNav .navbar-default .navbar-nav > li:first-child > a.active {padding: 8px 14px;color: #fff;text-decoration: none;background-color: #009ade;font-size:16px;} */ .mainNav .navbar-default .navbar-nav > li > a {color: #fff; padding: 8px 20px;font-weight:500; font-size: 16px;margin-right: 2px;font-family: 'Lemon', cursive;} .mainNav .navbar-default .navbar-nav > li > a:hover, .mainNav .navbar-default .navbar-nav > li > a:focus {color: #fff;text-decoration: none;background-color: #72166c;border-radius: 25px;} .mCall,.mCall:hover,.mCall:focus {position: absolute;right: 25%;top: 20%;background-color: #72166c;color: #fff;padding: 4px 10px;font-size: 12px;font-weight: 600;text-decoration:none;} .mainNav .navbar-default .navbar-nav>.open>a, .mainNav .navbar-default .navbar-nav>.open>a:focus, .mainNav .navbar-default .navbar-nav>.open>a:hover {color: #fff;text-decoration: none;background-color: #72166c;border-radius: 25px;} /*mega menu*/ .mega-dropdown {width: auto;} .mega-dropdown .mega-dropdown-menu {padding: 20px 0px;width: 100%;box-shadow: none;-webkit-box-shadow: none;} .mega-dropdown ul.mega-dropdown-menu {padding: 10px 0;margin: 0;min-width: 240px;text-align: center; border-radius: 10px;} .mega-dropdown ul.mega-dropdown-menu li {list-style: none;display:inline-block;} .mega-dropdown ul.mega-dropdown-menu li a {padding: 8px 10px;line-height:18px;color: #72166c; font-size: 16px;font-weight: 500;white-space: normal;text-decoration:none;} .mega-dropdown ul.mega-dropdown-menu li a:hover, .mega-dropdown ul.mega-dropdown-menu li a:focus {color: #fff;text-decoration: none; background-color: #72166c; border-radius: 25px;} /* -- Footer -- */ .footerEnd {padding-top: 15px; padding-bottom: 15px; box-shadow: 1px 1px 10px #ccc;margin-top: 20px;} .socialIcon {padding-top: 10px; padding-bottom: 10px;} .socialIcon a .fa-facebook {color: #3b5998;} .socialIcon a .fa-google-plus {color: #dd4b39;} .socialIcon a .fa-instagram {color: #e1306c;} .socialIcon a .fa-linkedin {color: #0077b5;} .socialIcon a .fa-tumblr {color: #35465c;} .socialIcon a .fa-twitter {color: #1da1f2;} .socialIcon a i {padding: 10px 15px;} .socialIcon a i:hover, .socialIcon a i:focus {color: #72166c;} .footerLinks {text-align: left;margin-bottom: 20px;} .footerLinks ul {margin: 0;padding: 0;} .footerLinks ul li {list-style:none;font-size: 16px;margin-bottom:10px;} .footerLinks i {color: #72166c;padding-right: 5px;} .footerLinks h4 {font-size: 22px;color: #009ade; font-weight: 600; } .footerLinks a {font-size: 16px;color: #333; transition: all 0.5s ease;line-height: 24px;font-weight: 600;} .footerLinks a:hover, .footerLinks a:focus {color: #72166c;text-decoration: none; transition: all 0.5s ease;} .footerP {padding-top: 20px; padding-bottom: 0;font-size: 16px;color: #333;text-align: justify;} .dis {color: #009ade;} .baseFooter {background-color: #dad9d9; padding-top: 10px; padding-bottom: 10px;text-align: center;} .formLtr .form-inline {width:100%;text-align: center;margin-top: 10px;} .formLtr .form-group{width:50%;} .formLtr .form-control {width:100%;border-radius: 0;} /*content*/ .para{margin-top:20px; display:none;} .para h4{color: #000000;font-size: 22px;} .para p{font-size: 15px;} .para1{margin-top:20px;} .para1 h4{color: #000000;font-size: 24px; margin-top: 20px;} .para1 p{font-size: 15px;} .morecontentwrap{display:none;} .showMoreBtn {background: #72166c;border: none;padding: 2px 10px;color: #ffffff;cursor: pointer;outline: none;font-weight: 600;font-size:12px;float: right;margin-bottom: 10px;} /* ---- Media ---- */ /* ##Device = Desktops, ##Screen = 1281px to higher resolution desktops */ @media (max-width: 1440px) { } /* ##Device = Laptops, Desktops, ##Screen = B/w 1025px to 1280px */ @media (min-width: 1025px) and (max-width: 1280px) { } /* ##Device = Tablets, Ipads (portrait), ##Screen = B/w 768px to 1024px */ @media (min-width: 768px) and (max-width: 1024px) { .mtop{margin-top:20px;} } /* ##Device = Tablets, Ipads (landscape), ##Screen = B/w 768px to 1024px */ @media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) { } /* ##Device = Low Resolution Tablets, Mobiles (Landscape), ##Screen = B/w 481px to 767px */ @media (min-width: 481px) and (max-width: 767px) { .mainNav .navbar-default .navbar-nav > li > a {color: #000;} .showMoreBtn{float: none;display:inline-block;} .searchWidget .form-group .form-control {font-size: 12px;font-weight: 500;} .footerLinks{text-align:center;} } /* ##Device = Most of the Smartphones Mobiles (Portrait), ##Screen = B/w 320px to 479px */ @media (min-width: 320px) and (max-width: 480px) { .mainNav .navbar-default .navbar-nav > li > a {color: #000;} }

Related: See More


Questions / Comments: