Skip to content

Instantly share code, notes, and snippets.

@lukesargeant
Last active January 5, 2017 08:45
Show Gist options
  • Save lukesargeant/e536b2841e67ebbb3509bfe81f651920 to your computer and use it in GitHub Desktop.
Save lukesargeant/e536b2841e67ebbb3509bfe81f651920 to your computer and use it in GitHub Desktop.
New Twiddle
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
body {
margin: 12px 16px;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 12pt;
}
.container {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: #aaa;
}
.top {
background: red;
}
.middle {
background: yellow;
}
.bottom {
background: blue;
}
.top, .middle, .bottom {
position: relative;
left: 0;
}
.top:hover, .middle:hover, .bottom:hover {
left: 20px;
}
<div class="container">
<div class="top">Top</div>
<div class="middle">Middle</div>
<div class="bottom">Bottom</div>
</div>
{
"version": "0.10.7",
"EmberENV": {
"FEATURES": {}
},
"options": {
"use_pods": false,
"enable-testing": false
},
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js",
"ember": "2.10.0",
"ember-data": "2.10.0",
"ember-template-compiler": "2.10.0",
"ember-testing": "2.10.0"
},
"addons": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment