Skip to content

Instantly share code, notes, and snippets.

@maya-shankar
Created June 23, 2016 02:45
Show Gist options
  • Save maya-shankar/ebc754ca49e6837b665c57c0a72cdd36 to your computer and use it in GitHub Desktop.
Save maya-shankar/ebc754ca49e6837b665c57c0a72cdd36 to your computer and use it in GitHub Desktop.
Basic Portfolio

Basic Portfolio

A portfolio I designed to commemorate my baby steps into the world of HTML/CSS and Bootstrap.

The photos belong to Sneha Sankar (https://www.behance.net/snehasankar) and the grid design comes from research and the never-ending resources on the Internet. I wish I could use a better font, but beggars can't be choosers on codepen.io.

A Pen by Maya Shankar on CodePen.

License.

<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<html>
<head>
<title>The World of Sasskar</title>
</head>
<body>
<div class="nav">
<h1>the world of sasskar</h1>
<ul>
<li><a href="home.html">home</a></li>
<li><a href="about.html">about<a></li>
<li><a href="contact.html">contact</a></li>
<li><a href="projects.html">projects</a></li>
</ul>
</div>
<h3>freak fruit</h3>
<div class="photos container">
<div class="row">
<img src="https://mir-s3-cdn-cf.behance.net/project_modules/max_1200/71b8f937925411.57508104516bd.jpg" />
<img src="https://mir-s3-cdn-cf.behance.net/project_modules/max_1200/61c9a837925411.575081044f79d.jpg" />
<img src="https://mir-s3-cdn-cf.behance.net/project_modules/max_1200/5c10fc37925411.5750810450ff3.jpg" />
<img src="https://mir-s3-cdn-cf.behance.net/project_modules/max_1200/26184737925411.575081044eb2b.jpg" />
<img src="https://mir-s3-cdn-cf.behance.net/project_modules/max_1200/56089737925411.5751a4b97f140.jpg" />
<img src="https://mir-s3-cdn-cf.behance.net/project_modules/max_1200/348b5b37925411.5750810451f8d.jpg" />
<img src="https://mir-s3-cdn-cf.behance.net/project_modules/max_1200/749d6137925411.5751a20cd414c.jpg" />
<img src="https://mir-s3-cdn-cf.behance.net/project_modules/max_1200/ac5d6037925411.575081044e5cf.jpg" />
</div>
</body>
</html>
h1 {
font-size: 70px;
text-align: center;
margin-bottom: -4px;
}
h3 {
font-size: 55px;
text-align: center;
padding-top: 30px;
}
body {
background-color: ivory;
font-family: 'Segoe UI';
color: hotpink;
}
.photos {
line-height: 0px;
-webkit-column-count: 3;
-webkit-column-gap: 4px;
-moz-column-count: 3;
-moz-column-gap: 4px;
column-count: 3;
column-gap: 4px;
margin: 100px;
margin-top: -5px;
}
.photos img {
height: 100%;
width: 100%;
padding: 3px;
}
.nav {
role: navigation;
text-align: center;
padding-bottom: 8px;
margin-left: 100px;
margin-right: 100px;
background-color: #729f98;
color: ivory;
}
.nav li {
display: inline;
text-align: center;
font-size: 20px;
padding: 8px;
}
a {
color: inherit;
text-decoration: none;
}
a:hover {
background: darkslategray;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment