Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*HTML Part*/
- <p class="icon-with-separation"><i class="fa fa-user"></i></p>
- /*CSS Part*/
- .icon-with-separation i {
- font-size: 25px;
- line-height: 1.5;
- color: #333333;
- }
- .icon-with-separation {
- position: relative;
- display: inline-block;
- padding: 0;
- margin: 0 auto;
- }
- .icon-with-separation::before {
- content: '';
- position: absolute;
- height: 1px;
- left: -70px;
- margin-top: -5.5px;
- top: 60%;
- background: #333333;
- width: 50px;
- }
- .icon-with-separation::after {
- content: '';
- position: absolute;
- height: 1px;
- right: -70px;
- margin-top: -5.5px;
- top: 60%;
- background: #333;
- width: 50px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement