I followed a tutorial for a CSS slideshow. It worked perfectly on the demo on codepen, but it doesn't seem to work when I try it on the website. Could it be that the site is not live yet? Or is that really stupid?
<div class="css-slideshow grid_6">
<figure>
<img src="http://v3.img.bostitch.eu/products/tools/ms-3219-e.jpg" alt="class-header-css3" width="250" height="250" class="alignnone size-full wp-image-172" />
</figure>
<figure>
<img src="http://v3.img.bostitch.eu/products/gallery/ms-series-%28app1%29.jpg" alt="class-header-semantics" width="250" height="250" class="alignnone size-full wp-image-179" />
</figure>
</div>
.css-slideshow{position: relative;
max-width: 250px;
height: 250px;
}
.css-slideshow figure{
margin: 0;
max-width: 250px;
height: 250px;
background: #000;
position: absolute;
}
.css-slideshow img{
box-shadow: 0 0 2px #666;
}
.css-slideshow:hover figure figcaption{
transition: opacity .5s;
opacity: 1;
}
.css-slideshow-attr{
max-width: 495px;
text-align: right;
font-size: .7em;
font-style: italic;
margin:0 auto;
}
.css-slideshow-attr a{
color: #666;
}
.css-slideshow figure{
opacity:0;
}
figure:nth-child(1) {
animation: xfade 12s 6s infinite;
}
figure:nth-child(2) {
animation: xfade 6s 0s infinite;
}
It won't be because the site isn't live, but for starts you haven't defined xfade, it'll be something like:
#keyframes xfade{
20% {
opacity:1;
}
50% {
opacity:0.5;
}
70% {
opacity:0;
}
}
depending on what you want, best way though to get help on here is to create a jsfiddle: http://jsfiddle.net/
Related
I am updating the website at my work with a coworker of mine and we had an awesome idea to have our sponsors scroll at the bottom of the screen to more easily see all of them and to make it look a bit neater than previous designs. The issue is, we have yet to figure out how to get the images to scroll on the same line. We are currently using HTML5 and CSS to attempt to solve this problem but with no luck. I tried to follow an awesome tutorial that someone put out but it was made before HTML5 and therefore does not appear to work, this is what I am following https://designshack.net/articles/css/infinitephotobanner/ I could of course be interpenetrating numbers wrong so I need some explanations. I will include my code in a moment to see if anyone can see my error and correct me, I need an extra set of more experienced eyes. The strange thing is, it seems to be almost working in here yet it isn't working at all for my webpage. Any suggestions? The images are all apearing on different lines and only the top one is scrolling.
style.css
/*body and container*/
* {
margin: 0;
padding: 0;
}
body {
background: url('dark_geometric.png');
}
#container {
width: 1000px;
overflow: hidden;
margin: 50px auto;
background: white;
}
/*header*/
header {
width: 800px;
margin: 40px auto;
}
header h1 {
text-align: center;
font: 100 60px/1.5 Helvetica, Verdana, sans-serif;
}
header p {
font: 100 15px/1.5 Helvetica, Verdana, sans-serif;
text-align: justify;
}
/*photobanner*/
.photobanner {
height: 75px;
width: 3550px;
margin-bottom: 80px;
}
.photobanner img {
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.photobanner img:hover {
-webkit-transform: scale(1.1);
-moz-transform: scale(1.1);
-o-transform: scale(1.1);
-ms-transform: scale(1.1);
transform: scale(1.1);
cursor: pointer;
-webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
}
/*keyframe animations*/
.first {
-webkit-animation: bannermove 30s linear infinite;
-moz-animation: bannermove 30s linear infinite;
-ms-animation: bannermove 30s linear infinite;
animation: bannermove 30s linear infinite;
}
#keyframes "bannermove" {
0% {
margin-left: 0px;
}
100% {
margin-left: -2125px;
}
}
#-moz-keyframes bannermove {
0% {
margin-left: 0px;
}
100% {
margin-left: -2125px;
}
}
#-webkit-keyframes "bannermove" {
0% {
margin-left: 0px;
}
100% {
margin-left: -2125px;
}
}
#-ms-keyframes "bannermove" {
0% {
margin-left: 0px;
}
100% {
margin-left: -2125px;
}
}
#-o-keyframes "bannermove" {
0% {
margin-left: 0px;
}
100% {
margin-left: -2125px;
}
}
<?xml version="1.0" encoding="UTF-8"?>
<?pcf-stylesheet path="/_resources/xsl/usu.xsl" site="1_XSL" extension="php"?>
<!DOCTYPE document SYSTEM "http://commons.omniupdate.com/dtd/standard.dtd">
<!-- Testing out the scroller -->
<head>
<meta charset="utf-8"/>
<meta name="description" content="description">
<title>Coperate Aggie Sponsers</title>
<link rel="stylesheet" type="text/css" media="screen" href="style.css"/>
</meta>
</head>
<body>
<div id="container">
<header>
<h1>Coperate Aggie Sponsers</h1>
</header>
<div class="photobanner">
<img class="first" src="{{f:21250202}}" width="125" height="75"/>
<img src="{{f:21250199}}" width="75" height="75"/>
<img src="{{f:21250197}}" width="266" height="75"/>
<img src="{{f:21250201}}" width="150" height="75"/>
<img src="{{f:21250195}}" width="236" height="75"/>
<img src="{{f:21250200}}" width="186" height="75"/>
<img src="{{f:21250196}}" width="256" height="75"/>
<img src="{{f:21250198}}" width="92" height="75"/>
<img src="{{f:21250202}}" width="125" height="75"/>
<img src="{{f:21250199}}" width="75" height="75"/>
<img src="{{f:21250197}}" width="266" height="75"/>
<img src="{{f:21250201}}" width="150" height="75"/>
<img src="{{f:21250195}}" width="236" height="75"/>
<img src="{{f:21250200}}" width="186" height="75"/>
<img src="{{f:21250196}}" width="256" height="75"/>
<img src="{{f:21250198}}" width="92" height="75"/>
</div>
</div>
</body>
<!-- /com.omniupdate.div -->
The images themselves to not show here because it is an inside reference on the webpage itself but the concept is there.
It would seem you've implemented the animation wrong, as per your reference. You will need to add the following to your .photobanner CSS:
animation-play-state: running;
animation: bannermove 30s linear infinite;
Here is an example codepen of the same reference you've provided, but in a working state: https://codepen.io/anon/pen/mPXgbW
I linking the style css in my html code and on all HTML editors my code is working absolutely fine except on my site.
Requirement: Hyperlinked images should scroll horizontally.
Expected output: All the images are hyperlinked, and when the page is opened they start scroll automatically.
Actual output: all the images are hyperlinked but the images are linked vertically on my page. On all editors i see the images scrolling.
The website is a wordpress website
Here is my code snippet. CSS source : designshack.com
<!DOCTYPE html>
<html>
<head>
<style>
{margin: 0; padding: 0;}
body {
background: url('dark_geometric.png');
}
#container {
width: 1000px;
overflow: hidden;
margin: 50px auto;
background: white;
}
/*header*/
header {
width: 800px;
margin: 40px auto;
}
header h1 {
text-align: center;
font: 100 60px/1.5 Helvetica, Verdana, sans-serif;
}
header p {
font: 100 15px/1.5 Helvetica, Verdana, sans-serif;
text-align: justify;
}
/*photobanner*/
.photobanner {
height: 233px;
width: 3550px;
margin-bottom: 80px;
}
/*keyframe animations*/
.first {
-webkit-animation: bannermove 30s linear infinite;
-moz-animation: bannermove 30s linear infinite;
-ms-animation: bannermove 30s linear infinite;
-o-animation: bannermove 30s linear infinite;
animation: bannermove 30s linear infinite;
}
#keyframes bannermove {
0% {
margin-left: 0;
}
100% {
margin-left: -2125px;
}
}
#-moz-keyframes bannermove {
0% {
margin-left: 0;
}
100% {
margin-left: -2125px;
}
}
#-webkit-keyframes bannermove {
0% {
margin-left: 0;
}
100% {
margin-left: -2125px;
}
}
#-ms-keyframes bannermove {
0% {
margin-left: 0;
}
100% {
margin-left: -2125px;
}
}
#-o-keyframes bannermove {
0% {
margin-left: 0;
}
100% {
margin-left: -2125px;
}
}
.photobanner {
height: 233px;
width: 3550px;
margin-bottom: 80px;
}
.photobanner img {
-webkit-transition: all .5s ease;
-moz-transition: all .5s ease;
-o-transition: all .5s ease;
-ms-transition: all .5s ease;
transition: all .5s ease;
}
.photobanner img:hover {
-webkit-transform: scale(1.1);
-moz-transform: scale(1.1);
-o-transform: scale(1.1);
-ms-transform: scale(1.1);
transform: scale(1.1);
cursor: pointer;
-webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.2);
-moz-box-shadow: 0 3px 5px rgba(0,0,0,0.2);
box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}
</style>
</head>
<body>
<div class="photobanner">
<a href="mysite">
<img class="first" src="me.jpg" alt="" /> </a>
<a href="site"
<img src="ns.jpg" alt="" /></a>
<a href="mysite"
<img src="gu.jpg" alt="" /></a>
<a href="mysite"
<img src="ri.jpg" alt="" /></a>
<a href="mysite"
<img src="me.jpg" alt="" /></a>
<a href="mysite"
<img src="ns.jpg" alt="" /></a>
<a href="mysite"
<img src="gu.jpg" alt="" /></a>
<a href="mysite"
<img src="ri.jpg" alt="" /></a>
</div>
</body>
</html>
Fix your html syntax first?:
<div class="photobanner">
<a href="mysite">
<img class="first" src="me.jpg" alt="" />
</a>
<a href="site">
<img src="ns.jpg" alt="" />
</a>
<a href="mysite">
<img src="gu.jpg" alt="" />
</a>
<a href="mysite">
<img src="ri.jpg" alt="" />
</a>
<a href="mysite">
<img src="me.jpg" alt="" />
</a>
<a href="mysite">
<img src="ns.jpg" alt="" />
</a>
<a href="mysite">
<img src="gu.jpg" alt="" />
</a>
<a href="mysite">
<img src="ri.jpg" alt="" />
</a>
</div>
I'm trying to get this CSS alternative for a slide show animation for customer Testimonials. I can get it to work in IE and Firefox but it will not work in Chrome. Does anybody know if i need to use some prefixes to fix this issue?
Here is a Demo.
<div class="css-slideshow">
<figure>
<img src="http://www.offsetprinting.com/img/custom_images/test_slide1.jpg" alt="class-header-css3" width="1192" height="497" class="alignnone size-full wp-image-172" /><figcaption><strong>CSS3:</strong></figcaption>
</figure>
<figure>
<img src="http://www.offsetprinting.com/img/custom_images/test_slide2.jpg" alt="class-header-semantics" width="1192" height="497" class="alignnone size-full wp-image-179" /><figcaption><strong>Semantics:</strong></figcaption>
</figure>
<figure>
<img src="http://www.offsetprinting.com/img/custom_images/test_slide3.jpg" alt="class-header-offline" width="1192" height="497" class="alignnone size-large wp-image-178" /><figcaption><strong>Offline & Storage:</strong></figcaption>
</figure>
<figure>
<img src="http://www.offsetprinting.com/img/custom_images/test_slide1.jpg" alt="class-header-device" width="1192" height="497" class="alignnone size-full wp-image-177" /><figcaption><strong>Device Access:</strong></figcaption>
</figure>
<figure>
<img src="http://www.offsetprinting.com/img/custom_images/test_slide2.jpg" alt="class-header-connectivity" width="1192" height="497" class="alignnone size-large wp-image-176" /><figcaption><strong>Connectivity:</strong></figcaption>
</figure>
<figure>
<img src="http://www.offsetprinting.com/img/custom_images/test_slide3.jpg" alt="class-header-multimedia" width="1192" height="497" class="alignnone size-large wp-image-175" /><figcaption><strong>Multimedia:</strong></figcaption>
</figure>
<figure>
<img src="http://www.offsetprinting.com/img/custom_images/test_slide1.jpg" alt="class-header-3d" width="1192" height="497" class="alignnone size-large wp-image-174" /><figcaption><strong>3D, Graphics & Effects:</strong></figcaption>
</figure>
<figure>
<img src="http://www.offsetprinting.com/img/custom_images/test_slide2.jpg" alt="class-header-performance" width="1192" height="497" class="alignnone size-large wp-image-173" /><figcaption><strong>Performance & Integration:</strong></figcaption>
</figure>
</div>
body{
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-weight: 300;
}
.css-slideshow{
position: relative;
max-width: 1192px;
height: 497px;
margin: 5em auto .5em auto;
}
.css-slideshow figure{
margin: 0;
max-width: 1192px;
height: 497px;
background: #000;
position: absolute;
}
.css-slideshow img{
box-shadow: 0 0 2px #666;
}
.css-slideshow figcaption{
position: absolute;
top: 0;
color: #fff;
background: rgba(0,0,0, .3);
font-size: .8em;
padding: 8px 12px;
opacity: 0;
transition: opacity .5s;
}
.css-slideshow-attr{
max-width: 1192px;
text-align: right;
font-size: .7em;
font-style: italic;
margin:0 auto;
}
.css-slideshow-attr a{
color: #666;
}
.css-slideshow figure{
opacity:0;
}
figure:nth-child(1) {
animation: xfade 48s 42s infinite;
}
figure:nth-child(2) {
animation: xfade 48s 36s infinite;
}
figure:nth-child(3) {
animation: xfade 48s 30s infinite;
}
figure:nth-child(4) {
animation: xfade 48s 24s infinite;
}
figure:nth-child(5) {
animation: xfade 48s 18s infinite;
}
figure:nth-child(6) {
animation: xfade 48s 12s infinite;
}
figure:nth-child(7) {
animation: xfade 48s 6s infinite;
}
figure:nth-child(8) {
animation: xfade 48s 0s infinite;
}
#keyframes xfade{
0%{
opacity: 1;
}
10.5% {
opacity: 1;
}
12.5%{
opacity: 0;
}
98% {
opacity: 0;
}
100% {
opacity: 1;
}
}
</
Chrome is a webkit browser, try using the webkit prefix (http://www.w3schools.com/cssref/css3_pr_animation-keyframes.asp) like this:
figure:nth-child(8) {
animation: xfade 48s 0s infinite;
-webkit-animation: xfade 48s 0s infinite;
}
#-webkit-keyframes xfade{
0%{
opacity: 1;
}
10.5% {
opacity: 1;
}
12.5%{
opacity: 0;
}
98% {
opacity: 0;
}
100% {
opacity: 1;
}
}
#keyframes xfade{
0%{
opacity: 1;
}
10.5% {
opacity: 1;
}
12.5%{
opacity: 0;
}
98% {
opacity: 0;
}
100% {
opacity: 1;
}
}
i am working on a Infinite Scrolling banner for a page but i am having issues with its output.
my html code is this: `e
<div class="header">
<img class="first" src="image-1.jpg" alt="" />
<img src="image2.jpg" alt="" />
<img src="image3.jpg" alt="" />
<img src="image4.jpg" alt="" />
<img src="image5.jpg" alt="" />
<img src="image6.jpg" alt="" />
<img src="image1.jpg" alt="" />
<img src="image2.jpg" alt="" />
<img src="image3.jpg" alt="" />
<img src="image4.jpg" alt="" />
</div>
</div>
and my CSS code is this:
`* {margin: 0; padding: 0;}
body {
background: url('background.jpg');
}
#container {
width: 1000px;
overflow: hidden;
margin: 50px auto;
background: white;
}
/*header*/
header {
width: 800px;
margin: 40px auto;
}
header h1 {
text-align: center;
font: 100 60px/1.5 Helvetica, Verdana, sans-serif;
}
header p {
font: 100 15px/1.5 Helvetica, Verdana, sans-serif;
text-align: justify;
}
/*photobanner*/
.photobanner {
height: 233px;
width: 3550px;
margin-bottom: 80px;
}
/*keyframe animations*/
.first {
-webkit-animation: bannermove 30s linear infinite;
-moz-animation: bannermove 30s linear infinite;
-ms-animation: bannermove 30s linear infinite;
-o-animation: bannermove 30s linear infinite;
animation: bannermove 30s linear infinite;
}
#keyframes "bannermove" {
0% {
margin-left: 0px;
}
100% {
margin-left: -2125px;
}
}
#-moz-keyframes bannermove {
0% {
margin-left: 0px;
}
100% {
margin-left: -2125px;
}
}
#-webkit-keyframes "bannermove" {
0% {
margin-left: 0px;
}
100% {
margin-left: -2125px;
}
}
#-ms-keyframes "bannermove" {
0% {
margin-left: 0px;
}
100% {
margin-left: -2125px;
}
}
#-o-keyframes "bannermove" {
0% {
margin-left: 0px;
}
100% {
margin-left: -2125px;
}
}
when i run the html file i see the banner scrolling but i can see the other pictures as well that is not in the banner at the time..
i should be only getting 3 pictures moving at one time and all other pics hidden but they are showing as well..please help..
<!DOCTYPE html>
<html>
<head>
<title>Photo banner</title>
<style>
* {margin: 0; padding: 0;}
body {
background-color: #FF0000;
}
#container {
width: 1000px;
overflow: hidden;
margin: 50px auto;
background: white;
}
/*header*/
header {
width: 800px;
margin: 40px auto;
}
header h1 {
text-align: center;
font: 100 60px/1.5 Helvetica, Verdana, sans-serif;
}
header p {
font: 100 15px/1.5 Helvetica, Verdana, sans-serif;
text-align: justify;
}
/*photobanner*/
.photobanner {
height: 233px;
width: 3550px;
margin-bottom: 80px;
}
/*keyframe animations*/
.first {
-webkit-animation: bannermove 30s linear infinite;
-moz-animation: bannermove 30s linear infinite;
-ms-animation: bannermove 30s linear infinite;
-o-animation: bannermove 30s linear infinite;
animation: bannermove 30s linear infinite;
}
#keyframes "bannermove" {
0% {
margin-left: 0px;
}
100% {
margin-left: -2125px;
}
}
#-moz-keyframes bannermove {
0% {
margin-left: 0px;
}
100% {
margin-left: -2125px;
}
}
#-webkit-keyframes "bannermove" {
0% {
margin-left: 0px;
}
100% {
margin-left: -2125px;
}
}
#-ms-keyframes "bannermove" {
0% {
margin-left: 0px;
}
100% {
margin-left: -2125px;
}
}
#-o-keyframes "bannermove" {
0% {
margin-left: 0px;
}
100% {
margin-left: -2125px;
}
}
.photobanner {
height: 233px;
width: 3550px;
margin-bottom: 80px;
}
.photobanner img {
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
transition: all 0.5s ease;
}
.photobanner img:hover {
-webkit-transform: scale(1.1);
-moz-transform: scale(1.1);
-o-transform: scale(1.1);
-ms-transform: scale(1.1);
transform: scale(1.1);
cursor: pointer;
-webkit-box-shadow: 0px 3px 5px rgba(0,0,0,0.2);
-moz-box-shadow: 0px 3px 5px rgba(0,0,0,0.2);
box-shadow: 0px 3px 5px rgba(0,0,0,0.2);
}
</style>
</head>
<body>
<div id="container">
<header>
<h1>Animated Photo Banner</h1>
<p>Lorem ipsum dolor...</p>
</header>
<!-- Each image is 350px by 233px -->
<div class="photobanner">
<img class="first" src="http://designshack.net/tutorialexamples/photobanner/image-1.jpg" alt="">
<img src="http://designshack.net/tutorialexamples/photobanner/image-2.jpg" alt="">
<img src="http://designshack.net/tutorialexamples/photobanner/image-3.jpg" alt="">
<img src="http://designshack.net/tutorialexamples/photobanner/image-4.jpg" alt="">
<img src="http://designshack.net/tutorialexamples/photobanner/image-5.jpg" alt="">
<img src="http://designshack.net/tutorialexamples/photobanner/image-6.jpg" alt="">
<img src="http://designshack.net/tutorialexamples/photobanner/image-1.jpg" alt="">
<img src="http://designshack.net/tutorialexamples/photobanner/image-2.jpg" alt="">
<img src="http://designshack.net/tutorialexamples/photobanner/image-3.jpg" alt="">
<img src="http://designshack.net/tutorialexamples/photobanner/image-4.jpg" alt="">
</div>
</div>
</body>
</div>
I am doing a website project and I would like to have this cool hover effect but I can't seem to get it to work right?
I have a vinyl record case image that slides to the left with a title (overflow:hidden) to reveal the record image behind it. At the same time from the left I want a description of the record to slid out from behind the vinly record case thats moving to the left and be on top of the record image with a little opacity so you can still see the record(this part is easy)
Here is the html code:
<div id="stations">
<div class="grid_3">
<div class="records"><!-- sleeve -->
<h3>Groove Salad</h3>
<div class="recordsinfo">Station description.</div>
</div>
</div>
</div>
and here is the css code:
#stations>div {
background-image: url(http://benlevywebdesign.com/somafm/images/SomaFMrecord.png);
background-repeat:no-repeat;
height: 220px;
margin-bottom: 20px;
position: relative;
overflow:hidden;
}
#stations>div>.records{
background-image: url(http://benlevywebdesign.com/somafm/images/SomaFM.png);
background-repeat:no-repeat;
height: 220px;
margin-bottom: 20px;
overflow:hidden;
position:relative;
}
#stations>div>.records>h3 {
color: #FFF;
background-color: rgba(255,255,255, 0.45);
width:200px;
margin-top:0px;
margin-bottom:-5px;
padding: 10px 10px 3px;
}
#stations>div>.records>.recordsinfo{
position: absolute;
left:-150px;
bottom: 0;
margin: 5px 10px;
}
#-moz-keyframes slideout {
0% { left:0; }
100% { left:-100px; }
}
#-webkit-keyframes slideout {
0% { left:0; }
100% { left:-100px; }
}
#keyframes slideout {
0% { left:0; }
100% { left:-100px; }
}
#stations>div>.records:hover{
height: 220px;
width:220%;
margin-bottom: 20px;
left:-100px;
overflow:hidden;
position: relative;
-moz-animation: slideout 0.75s 1;
-webkit-animation: slideout 0.75s 1;
animation: slideout 0.75s 1;
}
#stations>div>.records>.recordsinfo:hover{
height: 220px;
width:220%;
left:150px;
overflow:hidden;
position: relative;
-moz-animation: slidein 0.75s 1;
-webkit-animation: slidein 0.75s 1;
animation: slidein 0.75s 1;
}
and here is a fiddle of it working up until the last part which is the description not working and sliding out left!
Updated fiddle
http://jsfiddle.net/Xc9U6/11/
Try this - DEMO
HTML
<div id="stations">
<div class="grid_3">
<div class="records"><!-- sleeve -->
<h3>Groove Salad</h3>
</div>
<div class="recordsinfo">Station description.</div>
</div>
</div>
CSS
#stations > div {
background-image: url(http://benlevywebdesign.com/somafm/images/SomaFMrecord.png);
background-repeat:no-repeat;
height: 220px;
margin-bottom: 20px;
position: relative;
overflow:hidden;
}
#stations > div:hover .records {
margin-left: -110px;
}
#stations .records{
background-image: url(http://benlevywebdesign.com/somafm/images/SomaFM.png);
background-repeat:no-repeat;
height: 220px;
margin: 0 0 20px 0;
overflow:hidden;
position:relative;
-webkit-transition: all .75s;
-moz-transition: all .75s;
transition: all .75s;
}
#stations h3 {
color: #FFF;
background-color: rgba(255,255,255, 0.45);
width:200px;
margin-top:0px;
margin-bottom:-5px;
padding: 10px 10px 3px;
}
#stations > div:hover .recordsinfo {
margin-left: 0;
}
#stations .recordsinfo {
background: rgba(0, 0, 0, .8);
color: #fff;
position: absolute;
width: 150px;
bottom: 0;
margin: 5px 10px 5px -150px;
-webkit-transition: all .75s;
-moz-transition: all .75s;
transition: all .75s;
}
If I understood well you want the title to remain where it is? if so here you go:
#stations > div > .records:hover h3 {
margin-left: 100px;
}
Finally! You had lots of different issues here, from setting a width of 220%, instead of px, To trying to animate a child of an animation (so it's positions were off), to not defining the slidein animation you wanted to use.
Try this: jsFiddle