Vertical User Profile Widget

Developer
Size
4,189 Kb
Views
14,168

How do I make an vertical user profile widget?

Simple user profile widget, based on mobile view and trying to incorporate flat design.. What is a vertical user profile widget? How do you make a vertical user profile widget? This script and codes were developed by Anis Mashku on 04 November 2022, Friday.

Vertical User Profile Widget Previews

Vertical User Profile Widget - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Vertical User Profile Widget</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <!doctype html>
<html>
<head> <title>Codepen</title> <link href='https://fonts.googleapis.com/css?family=Pathway+Gothic+One' rel='stylesheet' type='text/css'>
</head>
<body> <div class="container"> <div class="navigation" style="display: none;"> <ul class="nav"> <li><a href="#">Add Friend</a></li> <li><a href="#">Follow</a></li> <li><a href="#">Message</a></li> </ul> </div> <div class="cover"> <div class="head"> <div class="menu left"></div> <div class="actions right"> <a class="btn success" href="#">Following</a> </div> <div class="clear"></div> </div> <div class="avatar"> <img src="https://dl.dropboxusercontent.com/s/yyd1fcw7dvtfa1q/avatar-colored.jpg" width="100" /> <div class="light"> </div> </div> </div> <div class="main"> <h1>Anis Mashku</h1> <h6><span>@</span>anismashku</h6> <p>Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. At vero eos et accusam et justo duo dolores.</p> </div> <div class="social"> <ul> <li><a class="linkedin" href="#"></a></li> <li><a class="twitter" href="#"></a></li> <li><a class="facebook" href="#"></a></li> <li><a class="dribbble" href="#"></a></li> </ul> </div> </div>
</body>
</html> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Vertical User Profile Widget - Script Codes CSS Codes

body { font: 12px "Helvetica"; background: url('https://dl.dropboxusercontent.com/s/rjnjpcw76egzs08/wood.png');
}
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.container { width: 320px; background: #eeeeee; overflow: hidden; height: 435px; margin: 50px auto; position: relative; -webkit-box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.5);
box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.5);
}
.navigation { background: #3E4858;
}
.navigation ul li { border-bottom: 1px solid #323846; border-top: 1px solid #515e72;
}
.navigation ul li a { display: block; color: #ffffff; text-decoration: none; padding: 10px; overflow: hidden; font: 17px 'Pathway Gothic One', sans-serif;
}
.cover { background: url('https://dl.dropboxusercontent.com/s/b9zehob0bif4zr0/newyork.jpg') no-repeat center; height: 180px; border-bottom: 5px solid #ffffff; position: relative; -webkit-box-shadow: 0px 5px 5px -5px rgba(50, 50, 50, 0.3); -moz-box-shadow: 0px 5px 5px -5px rgba(50, 50, 50, 0.3); box-shadow: 0px 5px 5px -5px rgba(50, 50, 50, 0.3);
}
.cover .head { padding: 10px; background: rgba(255, 255, 255, 0.7); border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.cover .head .menu { background: url('https://dl.dropboxusercontent.com/s/zgj5vdngzkemvpe/list-icon.png') no-repeat center; height: 32px; width: 35px; position: relative; cursor: pointer; opacity: 0.7; -webkit-transition: 0.25s; -moz-transition: 0.25s; -o-transition: 0.25s; transition: 0.25s;
}
.cover .head .menu.active,
.cover .head .menu:hover { opacity: 1;
}
.cover .avatar { position: absolute; background: #000; border: 5px solid #ffffff; cursor:pointer; top: 125px; left: 0; right: 0; margin: 0 auto; width: 100px; height: 100px; overflow: hidden; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; -webkit-box-shadow: 0px 5px 5px -5px rgba(50, 50, 50, 0.3); -moz-box-shadow: 0px 5px 5px -5px rgba(50, 50, 50, 0.3); box-shadow: 0px 5px 5px -5px rgba(50, 50, 50, 0.3);
}
.cover .avatar .light { background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0))); background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 ); top: -65px; width: 100px; height: 120px; position: absolute; left: 15px; transform:rotate(-30deg); -ms-transform:rotate(-30deg); /* IE 9 */ -webkit-transform:rotate(-30deg); /* Safari and Chrome */
}
.main { padding: 60px 10px 10px; text-align: center;
}
.main h1 { font-weight: bold; text-shadow: 0 -1px 0 #888888; color: #cecece; font-size: 30px; margin-bottom: -3px;
}
.main h6 { font: italic 16px "NotoSans"; letter-spacing: 1px; margin-bottom: 10px;
}
.main p { font: 14px/18px "Arial";
}
.social { margin: 10px 0 20px; text-align: center;
}
.social ul li { display: inline;
}
.social ul li a { display: inline-block; width: 30px; height: 30px; margin-left: 10px; transition: all .5s; -moz-transition: all .5s; /* Firefox 4 */ -webkit-transition: all .5s; /* Safari and Chrome */ -o-transition: all .5s; /* Opera */
}
.social ul li a.linkedin { background: #39C url("http://migkapa.com/site/lab/css3hover/images/linked-icon.png") no-repeat center;
}
.social ul li a.twitter { background: #019AD2 url("http://migkapa.com/site/lab/css3hover/images/twitter-icon.png") no-repeat center;
}
.social ul li a.facebook { background: #3B5998 url("http://migkapa.com/site/lab/css3hover/images/facebook-icon.png") no-repeat center;
}
.social ul li a.dribbble { background: #EA4C89 url("http://migkapa.com/site/lab/css3hover/images/dribble-icon.png") no-repeat center;
}
.social ul li a:hover { transform:rotate(360deg); -ms-transform:rotate(360deg); /* IE 9 */ -moz-transform:rotate(360deg); /* Firefox */ -webkit-transform:rotate(360deg); /* Safari and Chrome */ -o-transform:rotate(360deg); /* Opera */
}
.btn { border: none; background: #bdc3c7; color: #ffffff; padding: 7px 0 6px; line-height: 22px; text-decoration: none; text-shadow: none; width: 100px; display: inline-block; text-align: center; -webkit-transition: 0.25s; -moz-transition: 0.25s; -o-transition: 0.25s; transition: 0.25s;
}
.btn.success { background-color: rgba(88, 214, 141, 0.7);
}
.btn.danger { background-color: rgba(236, 112, 99, 0.8);
}

Vertical User Profile Widget - Script Codes JS Codes

 $(document).ready(function(){ $('.menu').click(function(){ $(this).toggleClass('active'); $(this).parents('.container').find('.navigation').slideToggle('fast'); }); $('.actions').hover( function(){ $(this).find('.btn').removeClass('success').addClass('danger').text('Unfollow'); }, function(){ $(this).find('.btn').removeClass('danger').addClass('success').text('Following'); } ); });
Vertical User Profile Widget - Script Codes
Vertical User Profile Widget - Script Codes
Home Page Home
Developer Anis Mashku
Username anism
Uploaded November 04, 2022
Rating 3.5
Size 4,189 Kb
Views 14,168
Do you need developer help for Vertical User Profile Widget?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Anis Mashku (anism) Script Codes
Name
Simple User Profile Widget
Create amazing captions with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!