Подробное описание и демонстрация работы блока «Подпись для электронного письма» для сайта под номером №18 для библиотеки Bootstrap. Html и CSS код для реализации блока forms на сайте как на изображении.

Miranda Roy
web designer- #2021, Lorem Ipsum
- mail@example.com
- 0987654321
- yourwebsite.com
<div class="demo"> <div class="container"> <div class="row"> <div class="col-md-offset-3 col-md-6 col-sm-offset-1 col-sm-10"> <div class="email-signature"> <div class="signature-img"> <img src="images/img-1.jpg" alt=""> </div> <div class="signature-details"> <h2 class="title">Miranda Roy</h2> <span class="post">web designer</span> </div> <ul class="signature-content"> <li><span class="fa fa-map-marker-alt"></span> #2021, Lorem Ipsum</li> <li><span class="fa fa-envelope"></span> mail@example.com</li> <li><span class="fa fa-mobile-alt"></span> 0987654321</li> <li><span class="fa fa-globe"></span> yourwebsite.com</li> </ul> </div> </div> </div> </div> </div>
.demo{ background: #F6DACF; } .email-signature{ background: #fff; font-family: 'Roboto Condensed', sans-serif; padding: 50px 20px 15px 120px; box-shadow: 10px 10px 3px rgba(0, 0, 0, 0.2); overflow: hidden; position: relative; } .email-signature:before{ content: ""; background: linear-gradient(to right,#f39c12 49%,#f1c40f 50%); width: 18px; height: 100%; position: absolute; top: 0; left: 0; } .email-signature .signature-img{ background: #fff; width: 140px; height: 140px; padding: 3px; border-radius: 50%; border: 5px solid #f1c40f; overflow: hidden; position: absolute; top: 15px; left: 30px; z-index: 1; } .email-signature .signature-img img{ width: 100%; height: auto; border-radius: 50%; } .email-signature .signature-details{ color: #fff; background: #3498db; text-align: center; padding: 15px 10px 15px 50px; margin-bottom: 20px; border-right: 15px solid #2980b9; } .email-signature .title{ font-size: 25px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin: 0; } .email-signature .post{ font-size: 16px; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; } .email-signature .signature-content{ padding: 20px 10px 0 0; margin: 0; list-style: none; position: relative; } .email-signature .signature-content:before, .email-signature .signature-content:after{ content: ""; background: #2980b9; width: 4px; height: 100%; position: absolute; top: 0; left: -25px; } .email-signature .signature-content:after{ background: #f1c40f; height: 80%; top: 20px; left: -35px; } .email-signature .signature-content li{ color: #95afc0; font-size: 16px; margin: 0 0 10px; display: block; } .email-signature .signature-content li span{ color:#f1c40f; font-size: 20px; text-align: center; line-height: 23px; height: 23px; width: 25px; margin: 2px 2px 0 0; } @media screen and (max-width:576px){ .email-signature{ padding: 200px 0 15px; } .email-signature:before{ background: linear-gradient(to bottom,#f39c12 49%,#f1c40f 50%); width: 100%; height: 15px; } .email-signature .signature-img{ margin: 0 auto; top: 26px; left: 0; right: 0; } .email-signature .signature-details{ padding: 10px; border-right: none; } .email-signature .signature-content{ text-align: center; padding: 0; } .email-signature .signature-content:before, .email-signature .signature-content:after{ width: 60%; height: 4px; transform: translateX(-50%); top: -103px; left: 50%; } .email-signature .signature-content:after{ width: 45%; top: -112px; } }