Responsive Author Box Design dengan HTML5 & CSS3

Responsive Author Box Design With HML5 & CSS3

Hari ini saya akan menunjukkan cara untuk membuat Responsive Author Box Desain dengan menggunkan HTML5 dan CSS3. Cara ini sangat sederhana dan desain yang ringan. Jika Anda suka, Anda dapat menambahkannya kedalam website Anda.

HTML
<div class="author-box">
 <img src="img/about-widget.jpg"/>
   <p>Hello, my name is Mr. Stark. I am from BLA BLA</p>
</div>
Instruksi : Agar berjalan dengan sempurna Anda harus meletakkan koten kedalam tag  <div>...</div> . Untuk menambahkan gambar tambahkan url gambar Anda kedalam tag  <img>...</img>   dan diskripsi tentang Anda kedalam tag  <p>...</p.

CSS
/*==========================
* Title: Responsive Author Box Design
* Author: Mr. Stark
* Website: oqinify.com
*=========================*/

.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 solid transparent;
    border-bottom: 15px solid transparent;
    border-top: 15px solid #fff;
    position: absolute;
    top: 0;
    left: 0;
}
.author-box p:after {
    right: 0;
    left: auto;
    border-left: 15px solid transparent;
    border-right: none;
}
Kustomisasi : Anda dapat merubah lebar konten default  300px  dari class  .author-box  sesuai dengan selera Anda dan saya telah menambahkan radius bulat dan bayangan pada gambar di class  .author-box img . Jika Anda tidak suka dengan font size atau warna ataupun background, Anda dapat merubahnya dalam class  .author-box p .




Itu dia. Sekian.

COMMENTS

Name

Android Studio,1,Author Box,1,Conditional Tags,1,CSS3,2,Facebook Comment Box,1,Geek,1,HTML5,2,Java,1,jQuery,1,Security News,8,Social Media Button,1,Tech News,2,TipsnTrik,8,Tor,1,
ltr
item
OQINIFY: Responsive Author Box Design dengan HTML5 & CSS3
Responsive Author Box Design dengan HTML5 & CSS3
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfpFkXmvQPqq86V3PZ3hKB-402yDOxjDaLiQfwyc3m7eqUzV2n3RhqpRRhR8MSV4a4trwhvuae9BGhit0OPOWc2DFmOsf4CBii6w3Is3yI13kqt_qvMyLLCCC3lnkb4v4q85EdRfrdnRu2/s1600/Screenshot_1.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfpFkXmvQPqq86V3PZ3hKB-402yDOxjDaLiQfwyc3m7eqUzV2n3RhqpRRhR8MSV4a4trwhvuae9BGhit0OPOWc2DFmOsf4CBii6w3Is3yI13kqt_qvMyLLCCC3lnkb4v4q85EdRfrdnRu2/s72-c/Screenshot_1.jpg
OQINIFY
https://oqinify1.blogspot.com/2016/10/responsive-author-box-design.html
https://oqinify1.blogspot.com/
https://oqinify1.blogspot.com/
https://oqinify1.blogspot.com/2016/10/responsive-author-box-design.html
true
2849065812233545774
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy