bs4 about user profile

Bootstrap snippet. bs4 about user profile, this snippet was created to help web designers,
front-end developers and back-end developer save time. Use it in your project and build your app faster,
You can also download the HTML, CSS, and JS code.
tags: profile,about,user

HTML code

Copy, paste, change, customize and run the following HTML code to get a result like the one shown in the preview selection

<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
<section class="container">
                <div class="content__inner content__inner--sm">
                    <header class="content__title">
                        <h1>Malinda Hollaway</h1>
                        <small>Web/UI Developer, Edinburgh, Scotland</small>

                        <div class="actions">
                            <a href="" class="actions__item zmdi zmdi-trending-up"></a>
                            <a href="" class="actions__item zmdi zmdi-check-all"></a>

                            <div class="dropdown actions__item">
                                <i data-toggle="dropdown" class="zmdi zmdi-more-vert"></i>
                                <div class="dropdown-menu dropdown-menu-right">
                                    <a href="" class="dropdown-item">Refresh</a>
                                    <a href="" class="dropdown-item">Manage Widgets</a>
                                    <a href="" class="dropdown-item">Settings</a>
                                </div>
                            </div>
                        </div>
                    </header>

                    <div class="card profile">
                        <div class="profile__img">
                            <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="">

                            <a href="" class="zmdi fa fa-camera profile__img__edit"></a>
                        </div>

                        <div class="profile__info">
                            <p>Cras mattis consectetur purus sit amet fermentum. Maecenas sed diam eget risus varius blandit sit amet non magnae tiam porta sem malesuada magna mollis euismod.</p>

                            <ul class="icon-list">
                                <li><i class="fa fa-phone"></i> 308-360-8938</li>
                                <li><i class="fa fa-envelope"></i> malinda@inbound.plus</li>
                                <li><i class="fa fa-twitter"></i> @mallinda-hollaway</li>
                            </ul>
                        </div>
                    </div>

                    <div class="toolbar">
                        <nav class="toolbar__nav">
                            <a class="active" href="profile-about.html">About</a>
                            <a href="profile-photos.html">Photos</a>
                            <a href="profile-contacts.html">Contacts</a>
                        </nav>

                        <div class="actions">
                            <i class="actions__item fa fa-search" data-sa-action="toolbar-search-open"></i>
                        </div>

                        <div class="toolbar__search">
                            <input type="text" placeholder="Search...">

                            <i class="toolbar__search__close fa fa-long-arrow-left" data-sa-action="toolbar-search-close"></i>
                        </div>
                    </div>

                    <div class="card">
                        <div class="card-body">
                            <h4 class="card-body__title mb-4">About Mallinda Hollaway</h4>

                            <p>Pellentesque vitae quam quis tellus dignissim faucibus. Suspendisse mattis felis at faucibus lobortis. Sed sit amet tellus dolor. Fusce quis sollicitudin velit. Praesent gravida ullamcorper lectus et tincidunt. Phasellus lectus quam, porta pharetra feugiat in, auctor eget dolor.</p>

                            <p>Vestibulum tincidunt imperdiet egestas. In in nunc vitae elit tincidunt tristique id eu justo. Quisque gravida maximus orci, vulputate pharetra mauris commodo at. Mauris eget fermentum ipsum, quis faucibus neque. Fusce eleifend sapien sit amet convallis rhoncus. Proin commodo lacinia lectus, et tempus turpis.</p>

                            <br>

                            <h4 class="card-body__title mb-4">Contact Information</h4>

                            <ul class="icon-list">
                                <li><i class="fa fa-phone"></i>308-360-8938</li>
                                <li><i class="fa fa-envelope"></i>robertbosborne@inbound.plus</li>
                                <li><i class="fa fa-facebook"></i>robertbosborne</li>
                                <li><i class="fa fa-twitter"></i>@robertbosborne</li>
                                <li><i class="fa fa-map-marker"></i>5470 Madison Street Severna Park, MD 21146</li>
                            </ul>
                        </div>
                    </div>
                </div>
            </section>

CSS code

Copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection

body{margin-top:20px;}

@media (min-width:768px) {
    .profile {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row
    }
}

.profile__img {
    padding: 5px;
    position: relative
}

.profile__img img {
    max-width: 200px;
    border-radius: 2px
}

@media (max-width:767px) {
    .profile {
        margin-top: 75px;
        text-align: center
    }
    .profile__img img {
        margin: -55px 0 -10px;
        width: 120px;
        border: 5px solid #fff;
        border-radius: 50%
    }
}

.profile__img__edit {
    position: absolute;
    font-size: 1.2rem;
    top: 15px;
    left: 15px;
    background-color: rgba(0, 0, 0, .4);
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    text-align: center;
    color: #fff
}

.profile__img__edit:hover {
    background-color: rgba(0, 0, 0, .65);
    color: #fff
}

.profile__info {
    padding: 30px
}

.toolbar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    height: 4.5rem;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: .05rem 2.2rem 0;
    position: relative
}

.toolbar:not(.toolbar--inner) {
    background-color: rgba(0, 0, 0, .2);
    border-radius: 2px;
    margin-bottom: 30px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .1)
}

.toolbar .actions {
    margin: .05rem -.8rem 0 auto
}

.toolbar--inner {
    margin-bottom: 1rem;
    border-radius: 2px 2px 0 0;
    background-color: rgba(0, 0, 0, .1)
}

.toolbar__nav {
    white-space: nowrap;
    overflow-x: auto
}

.toolbar__nav>a {
    display: inline-block;
    transition: color .3s
}

.toolbar__nav>a+a {
    padding-left: 1rem
}

.toolbar__nav>a.active,
.toolbar__nav>a:hover {
    color: rgba(255, 255, 255, .85)
}

.toolbar__search {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 2px;
    padding-left: 3rem;
    display: none;
    background-color: rgba(0, 0, 0, .96)
}

.toolbar__search input[type=text] {
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0 1.6rem;
    font-size: 1.2rem;
    background-color: transparent;
    color: rgba(255, 255, 255, .85)
}

.toolbar__search input[type=text]::-webkit-input-placeholder {
    color: rgba(255, 255, 255, .5)
}

.toolbar__search input[type=text]:-moz-placeholder {
    color: rgba(255, 255, 255, .5)
}

.toolbar__search input[type=text]::-moz-placeholder {
    color: rgba(255, 255, 255, .5)
}

.toolbar__search input[type=text]:-ms-input-placeholder {
    color: rgba(255, 255, 255, .5)
}

.toolbar__search__close,
.toolbar__search__close:hover {
    color: rgba(255, 255, 255, .85)
}

.toolbar__search__close {
    transition: color .3s;
    cursor: pointer;
    position: absolute;
    top: 1.5rem;
    left: 1.8rem;
    font-size: 1.5rem
}

.toolbar__label {
    margin: 0;
    font-size: 1.1rem
}

.icon-list>li>i {
    width: 2.5rem;
    text-align: center;
    font-size: 1.25rem;
    top: .12rem;
    position: relative;
    margin-left: -.5rem;
}

.zmdi {
    display: inline-block;
    font: normal normal normal 14px/1 'Material-Design-Iconic-Font';
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
                                    

Similar snippets

Bootstrap snippet bs4 payments profile

bs4 payments profile

View

Bootstrap snippet bs4 profile detail page

bs4 profile detail page

View

Bootstrap snippet bs4 social profile

bs4 social profile

View

About this snippet

Creator: Dey Dey

Bootstrap version: 4.1.1

Created: Jul 22nd 2018, 22:47

Views: 79