Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ManiruzzamanAkash/dc0aa4a0973ba58b5dc6e2cc1064311c to your computer and use it in GitHub Desktop.
Save ManiruzzamanAkash/dc0aa4a0973ba58b5dc6e2cc1064311c to your computer and use it in GitHub Desktop.
This is a demo user comment form snippet built on Bootstrap 4 CSS framework and with card basically. There is also added font awesome.
<!--
Author : Maniruzzaman Akash
Email : manirujjamanakash@gmail.com
-->
<!--To Work with icons-->
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<div class="container">
<h2 class="text-center">Bootstrap 4 User Rating Form / Comment Form</h2>
<div class="card">
<div class="card-body">
<div class="row">
<div class="col-md-2">
<img src="https://image.ibb.co/jw55Ex/def_face.jpg" class="img img-rounded img-fluid"/>
<p class="text-secondary text-center">15 Minutes Ago</p>
</div>
<div class="col-md-10">
<p>
<a class="float-left" href="https://maniruzzaman-akash.blogspot.com/p/contact.html"><strong>Maniruzzaman Akash</strong></a>
<span class="float-right"><i class="text-warning fa fa-star"></i></span>
<span class="float-right"><i class="text-warning fa fa-star"></i></span>
<span class="float-right"><i class="text-warning fa fa-star"></i></span>
<span class="float-right"><i class="text-warning fa fa-star"></i></span>
</p>
<div class="clearfix"></div>
<p>Lorem Ipsum is simply dummy text of the pr make but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
<p>
<a class="float-right btn btn-outline-primary ml-2"> <i class="fa fa-reply"></i> Reply</a>
<a class="float-right btn text-white btn-danger"> <i class="fa fa-heart"></i> Like</a>
</p>
</div>
</div>
<div class="card card-inner">
<div class="card-body">
<div class="row">
<div class="col-md-2">
<img src="https://image.ibb.co/jw55Ex/def_face.jpg" class="img img-rounded img-fluid"/>
<p class="text-secondary text-center">15 Minutes Ago</p>
</div>
<div class="col-md-10">
<p><a href="https://maniruzzaman-akash.blogspot.com/p/contact.html"><strong>Maniruzzaman Akash</strong></a></p>
<p>Lorem Ipsum is simply dummy text of the pr make but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
<p>
<a class="float-right btn btn-outline-primary ml-2"> <i class="fa fa-reply"></i> Reply</a>
<a class="float-right btn text-white btn-danger"> <i class="fa fa-heart"></i> Like</a>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@ManiruzzamanAkash
Copy link
Author

This User comment view section using bootstrap 4 is just like
Screenshot 1

@Ayyan420
Copy link

vbjkb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment