I'm going through the Udacity Intro to HTML and CSS course at the moment, and one of the exercises is to convert this mockup to HTML and CSS.
I did the following, and it looks ok-ish:
HTML:
<!DOCTYPE html>
<html>
<head>
<title>Jane Doette / Front-end Ninja</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="page-content">
<header class="main-header row">
<img src="http://placehold.it/113x113">
<div class="main-title col-6">
<h1>Jane Doette</h1>
<h2>Front-end Ninja</h2>
</div>
</header>
<div class="hero-image">
<img src="http://placehold.it/960x641">
</div>
<section class="featured-work">
<h2>Featured Work</h2>
<div class="row">
<div>
<div class="work-screenshot"><img class="left" src="http://placehold.it/300x200"></div>
<h3>Appify</h3>
<p><a href="https://github.com/udacity/Appify/">https://github.com/udacity/Appify/</a></p>
</div>
<div>
<div class="work-screenshot"><img class="center" src="http://placehold.it/300x200"></div>
<h3>Sunflower</h3>
<p><a href="https://github.com/udacity/Sunflower/">https://github.com/udacity/Sunflower/</a></p>
</div>
<div>
<div class="work-screenshot"><img class="right" src="http://placehold.it/300x200"></div>
<h3>Bokeh</h3>
<p><a href="https://github.com/udacity/Bokeh/">https://github.com/udacity/Bokeh/</a></p>
</div>
</div>
</section>
</div>
</body>
</html>
CSS:
@import url(http://fonts.googleapis.com/css?family=Lato:100,300);
/* Sample framework supplied with the course */
* {
/*border: 1px solid red !important;*/
font-family: Lato, sans-serif;
color: #1f1f1f;
}
* {
-ms-box-sizing: border-box;
box-sizing: border-box;
}
.row {
margin-bottom: 20px;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.col-1 {
width: 8.33%;
}
.col-2 {
width: 16.66%;
}
.col-3 {
width: 25%;
}
.col-4 {
width: 33.33%;
}
.col-5 {
width: 41.66%;
}
.col-6 {
width: 50%;
}
.col-7 {
width: 58.33%;
}
.col-8 {
width: 66.66%;
}
.col-9 {
width: 75%;
}
.col-10 {
width: 83.33%;
}
.col-11 {
width: 91.66%;
}
.col-12 {
width: 100%;
}
/* End of the sample framework */
div.page-content {
width: 960px;
margin: auto;
}
div.main-title {
margin-left: auto;
text-align: right;
text-transform: uppercase;
}
div.main-title h1 {
font-size: 58px;
font-weight: 100;
margin-bottom: 0;
}
div.main-title h2 {
font-size: 18px;
font-weight: 300;
margin-top: 0;
}
header.main-header {
align-items: center;
border-bottom: 5px solid silver;
margin-bottom: 30px;
}
div.hero-image {
max-height: 400px;
overflow: hidden;
}
div.hero-image img {
width: 100%;
}
section.featured-work .row {
justify-content: space-between;
margin-left: auto;
margin-right: auto;
}
div.work-screenshot {
width: 300px;
height: 200px;
overflow: hidden;
position: relative;
}
.featured-work div {
text-align: center;
}
.featured-work p {
margin-top: 0;
}
.featured-work p a {
color: #bebebe;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
div.work-screenshot img {
max-width: 300px;
}
h2 {
font-size: 38px;
font-weight: 300;
color: #9e9e9e;
margin: 30px 5px 10px 5px;
}
h3 {
font-size: 36px;
text-transform: uppercase;
margin: 10px 0;
color: #6e6e6e;
}