Skip to content

Instantly share code, notes, and snippets.

@mason-stewart
Created January 16, 2013 00:24
Show Gist options
  • Select an option

  • Save mason-stewart/4543486 to your computer and use it in GitHub Desktop.

Select an option

Save mason-stewart/4543486 to your computer and use it in GitHub Desktop.
Super cool homework, bro!
<html>
<head>
<title>My Great Ice Cream</title>
<style type="text/css">
.sidebar {
width: 50%;
float: left;
}
.thumbnail {
float: left;
width: 120px;
height: 120px;
border-radius: 120px;
overflow: hidden;
}
.thumbnail img {
width: 100%;
height: 100%;
}
.main {
width: 45%;
float: left;
}
.big {
float: left;
width: 100%;
border-radius: 1000px;
overflow: hidden;
}
.big img {
width: 100%;
}
</style>
</head>
<body>
<div class="sidebar">
<div class="thumbnail">
<img src="ice-cream-2.jpg">
</div>
<div class="thumbnail">
<img src="ice-cream-3.jpg">
</div>
<div class="thumbnail">
<img src="ice-cream-4.jpg">
</div>
</div>
<!-- end of sidebar -->
<div class="main">
<div class="big">
<img src="ice-cream-4.jpg">
</div>
</div>
</body>
</html>
@mason-stewart

Copy link
Copy Markdown
Author

whoa awesome! 👍

@mason-stewart

Copy link
Copy Markdown
Author

whoa what is this? this is not good code 🌵

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment