Responsive Writer Box Pattern Amongst Html5 & Css3

d similar to demonstrate y'all how to practice a Responsive Author Box Design alongside html Responsive Author Box Design alongside HTML5 & CSS3

Today we’d similar to demonstrate y’all how to practice a Responsive Author Box Design alongside html5 as well as css3. It’s rattling elementary as well as build clean design. If y’all similar it, y’all tin add together it to your adjacent project. It’s fully responsive that y’all tin cheque from our demo link.

Live Demo Download


<div class="author-box">  <img src="img/about-widget.jpg"/>         <p>Hello, my cite is codiblog. I am a professional person designer as well as developer from BLA BLA</p> </div>

Instruction: For content operate perfectly nosotros bring done everything into a <div>…</div> tags. Added <img></img> tags for icon display as well as <p></p> tags for writing some text.


/*========================== * Title: Responsive Author Box Design * Author: Md Jillur Rahman * Website: *=========================*/  .author-box {     background: #fff;     width: 300px;     margin: 0 auto;     text-align: center;     padding: 0; } .author-box img {     vertical-align: middle;     border-radius: 50%;     box-shadow: 0 1px 8px #ddd; } .author-box img:hover {     opacity: 0.8;     cursor: cell; } .author-box p {     color: #fff;     margin: 0;     font-size: 16px;     line-height: 1.3em;     background: #222;     padding: 10px;     position: relative; } .author-box p:before, .author-box p:after {     content: "";     border-right: 15px enterprise transparent;     border-bottom: 15px enterprise transparent;     border-top: 15px enterprise #fff;     position: absolute;     top: 0;     left: 0; } .author-box p:after {     right: 0;     left: auto;     border-left: 15px enterprise transparent;     border-right: none; } 

Customize: You tin alter amount content width default length 300px from .author-box class. We bring included icon circular radius as well as shadow inwards .author-box img class. If y’all don’t similar font size/color/background, y’all tin alter it from .author-box p class.

That’s it. We promise y’all relish this writer box pattern as well as discovery this tutorial helpful.

Browser Support: 

Github: View Project on Github