Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


  <!-- Design by -->
  <meta charset="utf-8">
  <meta name="viewport" content="width=divice-width, initial-scale=1.0">
  <title>Responsive Profile Card UI</title>
  <link rel="stylesheet" href="">
  <style media="screen">
  	* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

body {
    /* background-color: #EA9684; */
    font-family: Arial, Helvetica, sans-serif;
    background: #d5e1ef;


main {
    width: 340px;
    overflow: hidden;
    background-color: #fdfcfc;
    font-size: 16px;
    line-height: 22px;
    color: #000;
    border-radius: 7px;
    box-shadow: -4px -4px 20px rgba(0, 0, 0, 0.505);
    margin: 50px auto;


.top-card {
    width: 100%;
    /* height: 200px; */

.top-card img {
    width: 100%;

.top-card .menu-icon {
    position: relative;

    bottom: 13.7em;
    font-size: 17px;
    cursor: pointer;

.top-card .menu-icon .item1 {
    margin-left: 10px;
		margin-top: 15px;
		color: red;

.top-card .menu-icon .item2 {
   float: right;
   margin-right: 20px;
	 margin-top: -10px;
	 color: blue;



h1 {
    font-size: 22px;
    color: #000;
    font-weight: 600;
    margin: 12px 0;
    text-align: center;


.middle-card, footer {
    margin: 5px 25px;

.middle-card {
    text-align: justify;

footer {
    text-align: center;


footer .social-icon {
    /* padding: 7%; */
    font-size: 20px;
    margin: 0 5%;
    color: rgba(0, 0, 0, .9);

.facebook:hover {color:#3b5999;}
.twitter:hover {color: #55acee;}
.google:hover {color: #dd4b39;}
.github:hover {color: #302f2f;}
.linkedin:hover {color: #0077B5;}

footer .links {
    border-top: 2px solid rgba(0, 0, 0, .1);
    text-align: center;
    margin-top: 10px;
    padding: 8px 0;


	width: 110px;
	height: 37px;
	margin-top: 10px;
	border-radius: 2px;
	background: #1990cc;
	font-size: 15px;
	border: none;
	color: white;
	margin-left: 40px;
	border: 2px solid #1990cc;
	background: white;
	color: black;
    <section class="top-card">
      <img src="" alt="user picture">
      <div class="menu-icon">
        <div class="menu item1"><i class="fas fa-heart"></i></div>
        <div class="menu item2"><i class="fas fa-bars"></i></div>


    <section class="middle-card">
      <h1>Anita Mondol</h1>
      <p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Atque iure earum, molestiae voluptatibus amet minus dolore.</p>

      <a href="#" class="social-icon facebook"><i class="fab fa-facebook-f"></i></a>
      <a href="#" class="social-icon twitter"><i class="fab fa-twitter"></i></a>
      <a href="#" class="social-icon google"><i class="fab fa-google"></i></a>
      <a href="#" class="social-icon github"><i class="fab fa-github"></i></a>
      <a href="#" class="social-icon linkedin"><i class="fab fa-linkedin"></i></a>

      <section class="links">
<button>Contact me</button>
<button>Hire Me</button>