"Post Block with comment Design"
Bootstrap 3.3.0 Snippet by moneya

<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="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <h2>Create your snippet's HTML, CSS and Javascript in the editor tabs</h2> <div class=""> <div class="one-post"> <!--Post Description--> <div class="bd-radius"> <div class="post-post-content postMetaInline-media" style=""> <div class="col-lg-9 col-md-9 col-sm-9 col-xs-9 pd"> <div class="media"> <div class="media-left"> <a href="#"> <img src="http://www.freeiconspng.com/uploads/person-male-light-icon--vista-people-iconset--icons-land-20.png" class="media-object" alt="Sample Image"> </a> </div> <div class="media-body"> <h4 class="media-heading mg mg-t-5"> <a href="#"> <span>Jhon Carter</span> </a> </h4> <span class="media-heading-muted"> Lorem Ipsum is simply </span> </div> </div> </div> <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3 pd"> <ul class="nav list-unstyled"> <li> <div class="text-right timed">20 min ago</div> </li> <li> <div class="text-right timed"> <a href="#"> <span> <i class="fa fa-map-marker"></i>  Pune</span> </a> </div> </li> </ul> </div> <div class="clearfix"></div> </div> <div class="pd-b-10 pd-t-10 pd-r-15 pd-l-15" style="max-height: 250px;position: relative;overflow: hidden;"> <h4 class="mg mg-t-5 mg-b-5 posttitle-font">What is Lorem Ipsum?</h4> <p class="mg postdesc-font" style="-webkit-transition: top 1s;-moz-transition: top 1s;-o-transition: top 1s;transition: top 1s;"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. <br/>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32. <span class="readmore"> <button class="btn btn-default backbtn "> <a href="" class="a-dec "> <span class="">Read More</span> </a> </button> </span> </p> </div> <div class="post-post-content postMetaInline-media"> <div class="col-lg-9 col-md-9 col-sm-9 col-xs-9 pd"> <ul class="nav list-unstyled"> <li> <div class="icondisplay"> <a data-toggle="collapse" href="#collapseExample" aria-expanded="false" aria-controls="collapseExample"> <svg class="svgIcon-use" width="23" height="23" viewBox="0 0 25 25"> <path d="M19 6c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14.66h.012c.01.103.045.204.12.285a.5.5 0 0 0 .706.03L12.5 16.85l5.662 4.126a.508.508 0 0 0 .708-.03.5.5 0 0 0 .118-.285H19V6zm-6.838 9.97L7 19.636V6c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v13.637l-5.162-3.668a.49.49 0 0 0-.676 0z" fill-rule="evenodd"></path> </svg> </a> <span>55</span> <div class="line"></div> <a data-toggle="collapse" href="#collapseExample" aria-expanded="false" aria-controls="collapseExample"> <svg class="svgIcon-use" width="23" height="23" viewBox="0 0 25 25"> <path d="M12.5 21a.492.492 0 0 1-.327-.122c-.278-.24-.61-.517-.978-.826-2.99-2.5-7.995-6.684-7.995-10.565C3.2 6.462 5.578 4 8.5 4c1.55 0 3 .695 4 1.89a5.21 5.21 0 0 1 4-1.89c2.923 0 5.3 2.462 5.3 5.487 0 3.97-4.923 8.035-7.865 10.464-.42.35-.798.66-1.108.93a.503.503 0 0 1-.327.12zM8.428 4.866c-2.414 0-4.378 2.05-4.378 4.568 0 3.475 5.057 7.704 7.774 9.975.243.2.47.39.676.56.245-.21.52-.43.813-.68 2.856-2.36 7.637-6.31 7.637-9.87 0-2.52-1.964-4.57-4.377-4.57-1.466 0-2.828.76-3.644 2.04-.1.14-.26.23-.43.23-.18 0-.34-.09-.43-.24-.82-1.27-2.18-2.03-3.65-2.03z" fill-rule="evenodd"></path> </svg> </a> <span>55</span> <div class="line"></div> <a data-toggle="collapse" href="#collapseExample" aria-expanded="false" aria-controls="collapseExample"> <svg class="svgIcon-use" width="23" height="23" viewBox="0 0 25 25"> <path d="M12.5 21a.492.492 0 0 1-.327-.122c-.278-.24-.61-.517-.978-.826-2.99-2.5-7.995-6.684-7.995-10.565C3.2 6.462 5.578 4 8.5 4c1.55 0 3 .695 4 1.89a5.21 5.21 0 0 1 4-1.89c2.923 0 5.3 2.462 5.3 5.487 0 3.97-4.923 8.035-7.865 10.464-.42.35-.798.66-1.108.93a.503.503 0 0 1-.327.12zM8.428 4.866c-2.414 0-4.378 2.05-4.378 4.568 0 3.475 5.057 7.704 7.774 9.975.243.2.47.39.676.56.245-.21.52-.43.813-.68 2.856-2.36 7.637-6.31 7.637-9.87 0-2.52-1.964-4.57-4.377-4.57-1.466 0-2.828.76-3.644 2.04-.1.14-.26.23-.43.23-.18 0-.34-.09-.43-.24-.82-1.27-2.18-2.03-3.65-2.03z" fill-rule="evenodd"></path> </svg> </a> <span>55</span> </div> </li> </ul> </div> <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3 pd"> <ul class="nav list-unstyled"> <li> <div class="icondisplay pull-right"> <a data-toggle="collapse" href="#collapseExample" aria-expanded="false" aria-controls="collapseExample"> <svg class="svgIcon-use" width="23" height="23" viewBox="0 0 25 25"> <path d="M19 6c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14.66h.012c.01.103.045.204.12.285a.5.5 0 0 0 .706.03L12.5 16.85l5.662 4.126a.508.508 0 0 0 .708-.03.5.5 0 0 0 .118-.285H19V6zm-6.838 9.97L7 19.636V6c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v13.637l-5.162-3.668a.49.49 0 0 0-.676 0z" fill-rule="evenodd"></path> </svg> </a> <span>55</span> <div class="line"></div> <a data-toggle="collapse" href="#collapseExample" aria-expanded="false" aria-controls="collapseExample"> <svg class="svgIcon-use" width="23" height="23" viewBox="0 0 25 25"> <path d="M12.5 21a.492.492 0 0 1-.327-.122c-.278-.24-.61-.517-.978-.826-2.99-2.5-7.995-6.684-7.995-10.565C3.2 6.462 5.578 4 8.5 4c1.55 0 3 .695 4 1.89a5.21 5.21 0 0 1 4-1.89c2.923 0 5.3 2.462 5.3 5.487 0 3.97-4.923 8.035-7.865 10.464-.42.35-.798.66-1.108.93a.503.503 0 0 1-.327.12zM8.428 4.866c-2.414 0-4.378 2.05-4.378 4.568 0 3.475 5.057 7.704 7.774 9.975.243.2.47.39.676.56.245-.21.52-.43.813-.68 2.856-2.36 7.637-6.31 7.637-9.87 0-2.52-1.964-4.57-4.377-4.57-1.466 0-2.828.76-3.644 2.04-.1.14-.26.23-.43.23-.18 0-.34-.09-.43-.24-.82-1.27-2.18-2.03-3.65-2.03z" fill-rule="evenodd"></path> </svg> </a> <span>55</span> </div> </li> </ul> </div> <div class="clearfix"></div> </div> </div> <!--Post Comment--> <div class="bd-radius collapse" id="collapseExample"> <div class="subpostMetaInline-media"> <!--comment input design--> <div class="media mg mg-t-5 mg-b-5"> <div class="media-left"> <a href="#" data-toggle="popover" data-html="true" data-placement='top' data-trigger="hover" title="Jhon Carter" data-content="Some content inside the popover"> <img src="<?php echo base_url() ?>assets/img/bill.jpg" class="media-object" alt="Sample Image"> </a> </div> <div class="media-body"> <h4 class="media-heading mg mg-t-5"> <a href="#" data-toggle="popover" data-html="true" data-placement='top' data-trigger="hover" title="Jhon Carter" data-content="Some content inside the popover"> <span>Jhon Carter</span> </a> </h4> <span class="media-heading-muted"> Lorem Ipsum is simply <div class="line"></div> <a href="#" data-toggle="popover" data-html="true" data-placement='top' data-trigger="hover" title="Jhon Carter" data-content="Some content inside the popover"> <span> <i class="fa fa-map-marker"></i>  Pune</span> </a> </span> <div class="pd-t-5"> <!-- <input type="text" class="form-control commentpostinput" id="">--> <div class="form-group"> <div class="icon-addon"> <input type="text" placeholder="Post Comment" class="form-control commentpostinput" id="PostComent" name="PostComent"> <label id="sendicon" class="fa fa-send" rel="tooltip" title="Send Post"></label> </div> </div> </div> </div> </div> <!--comment Design--> <div class="media mg mg-t-5 mg-b-5"> <div class="media-left"> <a href="#" data-toggle="popover" data-html="true" data-placement='top' data-trigger="hover" title="Jhon Carter" data-content="Some content inside the popover"> <img src="<?php echo base_url() ?>assets/img/bill.jpg" class="media-object" alt="Sample Image"> </a> </div> <div class="media-body"> <h4 class="media-heading mg mg-t-5"> <a href="#" data-toggle="popover" data-html="true" data-placement='top' data-trigger="hover" title="Jhon Carter" data-content="Some content inside the popover"> <span>Jhon Carter</span> </a> </h4> <span class="media-heading-muted"> Lorem Ipsum is simply <div class="line"></div> <a href="#" data-toggle="popover" data-html="true" data-placement='top' data-trigger="hover" title="Jhon Carter" data-content="Some content inside the popover"> <span> <i class="fa fa-map-marker"></i>  Pune</span> </a> </span> <ul class="nav list-unstyled pull-right"> <li> <div class="text-right timed">20 min ago</div> </li> </ul> <div class="pd-b-10 pd-t-10" id="xyz"> <h4 class="mg mg-t-5 mg-b-5 posttitle-font">What is Lorem Ipsum?</h4> <p class="postdesc-font">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. <br/>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32. <small class="pull-right mg-t-5"><a href="" class="text-muted">view more</a></small> </p> </div> </div> </div> <div class="media mg mg-t-5 mg-b-5"> <div class="media-left"> <a href="#" data-toggle="popover" data-html="true" data-placement='top' data-trigger="hover" title="Jhon Carter" data-content="Some content inside the popover"> <img src="<?php echo base_url() ?>assets/img/bill.jpg" class="media-object" alt="Sample Image"> </a> </div> <div class="media-body"> <h4 class="media-heading mg mg-t-5"> <a href="#" data-toggle="popover" data-html="true" data-placement='top' data-trigger="hover" title="Jhon Carter" data-content="Some content inside the popover"> <span>Jhon Carter</span> </a> </h4> <span class="media-heading-muted"> Lorem Ipsum is simply <div class="line"></div> <a href="#" data-toggle="popover" data-html="true" data-placement='top' data-trigger="hover" title="Jhon Carter" data-content="Some content inside the popover"> <span> <i class="fa fa-map-marker"></i>  Pune</span> </a> </span> <ul class="nav list-unstyled pull-right"> <li> <div class="text-right timed">20 min ago</div> </li> </ul> <div class="pd-b-10 pd-t-10"> <h4 class="mg mg-t-5 mg-b-5 posttitle-font">What is Lorem Ipsum?</h4> <p class="postdesc-font">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. <br/>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32. <small class="pull-right mg-t-5"><a href="" class="text-muted">view more</a></small> </p> </div> </div> </div> <div class="clearfix"></div> </div> </div> </div> </div> </div> </div>
.one-post { margin: 0px 0px 25px 0px; } .bd-radius { border-radius: 4px; background-color: #ffffff; box-shadow: 0 1px 7px rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.09) !important; } .bd-radius .img-height { width: 100% !important; height: auto !important; } .bd-radius .img-height .video { width: 100% !important; height: auto !important; } .bd-radius .post-post-content { padding: 10px 15px 10px 15px !important; } .bd-radius .post-post-content.postMetaInline-media { width: 100%; border-top: 1px solid #eee; } .bd-radius .post-post-content.postMetaInline-media .media .media-left a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: normal; } .bd-radius .post-post-content.postMetaInline-media .media .media-left a .media-object { border-radius: 50%; width: 46px !important; height: 46px !important; } .bd-radius .post-post-content.postMetaInline-media .media .media-body { display: table-cell; vertical-align: middle; font-size: 14px; line-height: 1.4; text-rendering: auto; } .bd-radius .post-post-content.postMetaInline-media .media .media-body .media-heading { font-weight: 400; color: #000; font-size: 17px; } .bd-radius .post-post-content.postMetaInline-media .media .media-body .media-heading-muted { color: rgba(0,0,0,0.44) !important; font-size: 12px; display: flex; } .bd-radius .post-post-content.postMetaInline-media .media .media-body .media-heading-muted .fa-map-marker { font-size: 14px; margin-top: 2px; } .bd-radius .post-post-content.postMetaInline-media .nav li .timed { font-size: 15px; color: #adadad; } .bd-radius .post-post-content.postMetaInline-media .nav li .icondisplay { display: flex; } .bd-radius .post-post-content.postMetaInline-media .nav li .icondisplay span { font-size: 16px; color: #adadad; } .bd-radius .post-post-content.postMetaInline-media .nav li .icondisplay .line { width: 1px !important; height: 20px !important; background-color: #bababa; margin: 2px 5px 0px 5px; } .posttitle-font { font-size: 23px; font-weight: 600; } .postdesc-font { font-size: 17px; word-spacing: 2px; font-weight: 400; } .subpostMetaInline-media { width: 100%; border-top: 1px solid #eee; padding: 15px 15px 15px 15px !important; } .subpostMetaInline-media .media .media-left a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: normal; } .subpostMetaInline-media .media .media-left a .media-object { border-radius: 50%; width: 46px !important; height: 46px !important; } .subpostMetaInline-media .media .media-body { display: table-cell; vertical-align: middle; font-size: 14px; line-height: 1.4; text-rendering: auto; } .subpostMetaInline-media .media .media-body .media-heading { font-weight: 400; color: #000; font-size: 17px; } .subpostMetaInline-media .media .media-body .media-heading-muted { color: rgba(0,0,0,0.44) !important; font-size: 12px; display: flex; } .subpostMetaInline-media .media .media-body .media-heading-muted .fa-map-marker { font-size: 14px; margin-top: 2px; } .subpostMetaInline-media .media .media-body .form-control.commentpostinput { border-radius: 0px; padding: 6px 35px 6px 6px; } .subpostMetaInline-media .nav li .timed { font-size: 15px; color: #adadad; } .subpostMetaInline-media .nav li .icondisplay { display: flex; float: right; } .subpostMetaInline-media .nav li .icondisplay span { font-size: 16px; color: #adadad; } .subpostMetaInline-media .nav li .icondisplay .line { width: 1px !important; height: 20px !important; background-color: #bababa; } .readmore { position: absolute; bottom: 0; left: 0; width: 100%; text-align: center; margin: 0; padding: 42px 0px 0px 0px; background: -webkit-linear-gradient(rgba(255,255,255,0) 0%,#ffffff 100%); background-image: -moz-linear-gradient(rgba(255,255,255,0) 0%,#ffffff 100%); background-image: -o-linear-gradient(rgba(255,255,255,0) 0%,#ffffff 100%); background-image: linear-gradient(rgba(255,255,255,0) 0%,#ffffff 100%); background-image: -ms-linear-gradient(rgba(255,255,255,0) 0%,#ffffff 100%); } .readmore .btn-default:hover { color: #FFF; background-color: #ffcd13; border-color: #f9e69d; } .readmore .btn-default .a-dec:hover { color: #FFF; } .backbtn { border-radius: 8px 8px 0px 0px !important; box-shadow: 0px 1px 7px 0px rgba(0,0,0,0.2); } .a-dec { text-decoration: none !important; }

Related: See More


Questions / Comments: