Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Primary style
body {
font-size: 100%;
font-family: "Open Sans", sans-serif;
color: #445b7c;
background-color: #445b7c;
color: #37AB56;
background-color: #37AB56;
}

a {
Expand Down Expand Up @@ -58,7 +58,7 @@ header h1 {
.cd-image-container {
position: relative;
width: 90%;
max-width: 768px;

margin: 0em auto;
}
.cd-image-container img {
Expand All @@ -69,7 +69,7 @@ header h1 {
position: absolute;
bottom: 0;
right: 0;
color: #ffffff;
color: #000000;
padding: 1em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
Expand Down
Binary file modified img/img-modified.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/img-original.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@
<link rel="stylesheet" href="css/style.css"> <!-- Resource style -->
<script src="js/modernizr.js"></script> <!-- Modernizr -->

<title>Image Comparison Slider | CodyHouse</title>
<title>Landing Page for Popstream | CodyHouse</title>
</head>
<body>
<header>
<h1>Image Comparison Slider</h1>
<h1>Landing Page for Popstreams</h1>
</header>
<figure class="cd-image-container">
<img src="img/img-original.jpg" alt="Original Image">
<span class="cd-image-label" data-type="original">Original</span>

<div class="cd-resize-img"> <!-- the resizable image on top -->
<img src="img/img-modified.jpg" alt="Modified Image">
<span class="cd-image-label" data-type="modified">Modified</span>
<img src="img/img-modified.jpg" alt="Revamped">
<span class="cd-image-label" data-type="modified">Revamped</span>
</div>

<span class="cd-handle"></span>
Expand All @@ -31,4 +31,4 @@ <h1>Image Comparison Slider</h1>
<script src="js/jquery.mobile.custom.min.js"></script> <!-- Resource jQuery -->
<script src="js/main.js"></script> <!-- Resource jQuery -->
</body>
</html>
</html>