Skip to content

Instantly share code, notes, and snippets.

@sush
Last active November 4, 2016 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sush/d135e411c06c301d8d9e58b8320bbedc to your computer and use it in GitHub Desktop.
Save sush/d135e411c06c301d8d9e58b8320bbedc to your computer and use it in GitHub Desktop.
test
/*
div.tabbed {
position: relative;
font-size: 0;
}
div.tabbed > a {
display: inline-block;
padding: .5em;
font-size: 16px;
border-radius: 3px 3px 0 0;
background-color: #333;
color: #eee;
text-decoration: none;
line-height: 1em;
}
div.tabbed > a + a {
margin-left: .5em;
}
div.tabbed > a:target {
color: #333;
background-color: #eee;
}
div.tabbed > a > div {
position: absolute;
top: 100%;
left: 0;
width: 300px;
padding: .5em;
border-radius: 0 3px 3px 3px;
display: none;
color: #333;
background-color: #eee;
}
div.tabbed > a:hover > div {
display: block;
}
*/
.Page {
width: 1024px;
margin: 0 auto;
background: #ddd;
}
.h-Jobs {
position: relative;
min-height: 500px;
}
.h-JobsTitle {
display: block;
width: 30%;
padding: 1em;
background: blue;
margin-bottom: 10px;
color: #fff;
}
.h-JobsTitle:hover + .h-JobsContent {
display: block;
}
.h-JobsContent {
display: none;
position: absolute;
top: 0; right: 0; bottom: 0; left: 30%;
background: #eee;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment