Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's 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 it's URL and the proper URL extention.

+ add another resource

JavaScript

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

Packages

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.

Behavior

Save Automatically?

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.

HTML

              
                <!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>Profile Card</title>
	<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Marck+Script">
	<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Rakkas">
	<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.12/css/all.css">
	<link rel="stylesheet" href="main.css">

	<link href="https://fonts.googleapis.com/css?family=KoHo" rel="stylesheet">
</head>

<body>
	<div class="container">
		<div class="logo"></div>
		<h1> Saifuddin Syed </h1>
		<h3> CSE Grad | Enthusiast </h3>
		<p class="bio">
			I think of myself as possessing a critical, dynamic and perpetual intelligence which I intend to allow it to operate.
		</p>
		<p class="social">
			<a title="Facebook" target="_blank" href="https://www.facebook.com/100006665290943">
				<i class=" s-btn fab fa-facebook-f"></i></a>
			<a title="Instagram" target="_blank" href="https://www.instagram.com/saifylovezyou">
				<i class="s-btn fab fa-instagram"></i></a>
			<a title="Twitter" target="_blank" href="https://twitter.com/saifylovezyou">
				<i class="s-btn fab fa-twitter"></i></a>
			<a title="Codepen" target="_blank" href="https://codepen.io/saify/">
				<i class="s-btn fab fa-codepen"></i></a>
			<a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/saifuddins/">
				<i class="s-btn fab fa-linkedin-in"></i></a>
		</p>
	</div>

</body>

</html>
              
            
!

CSS

              
                body {
	margin: 0;
	padding: 0;
	background: rgba(221, 160, 221, 0.3);
	background-size: cover;
}

.container {
	position: absolute;
	top: 20%;
	left: 30%;
	transform: translate((-50%, -50%));
	width: 500px;
	height: 200px;
	padding: 30px;
	background: whitesmoke;
	border-radius: 10px;
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.logo {
	width: 180px;
	height: 180px;
	background-color: rgba(0, 0, 0, 0.4);
	background-image: url(https://res.cloudinary.com/saify/image/upload/v1539009756/icon.jpg);
	background-size: cover;
	border-radius: 50%;
	float: left;
	shape-outside: circle();
	margin: 30px 20px 30px 0;
	box-shadow: -2px 2px 400px #808080;
	transform: translate(-70%, -10%);
}

h1 {
	font-family: "Marck Script", san-serif;
	transform: translateX(-85px);
	margin: 0 0 5px;
	padding: 0;
	font-size: 30px;
}

h3 {
	font-style: italic;
	font-weight: 600;
	transform: translateX(-85px);
	margin: 0 0 20px;
	padding: 0;
}

.bio {
	transform: translateX(-95px);
	font-family: "KoHo", sans-serif;
	margin: 0;
	padding: 0;
	text-align: justify;
	line-height: 28px;
}

.social {
	display: grid;
	line-height: 2.5;
	transform: translate(260px, -190px);
	width: 40px;
}
.s-btn {
	color: black;
}

              
            
!

JS

              
                
              
            
!
999px

Console