Skip to content

Instantly share code, notes, and snippets.

Created August 19, 2014 14:00
Show Gist options
  • Select an option

  • Save anonymous/fdba5c8a03ba50069cb6 to your computer and use it in GitHub Desktop.

Select an option

Save anonymous/fdba5c8a03ba50069cb6 to your computer and use it in GitHub Desktop.
Untitled
.descisionTree:hover {
background: #eee;
}
.descisionTree {
display: table;
border-bottom: 1px solid #ccc;
padding: 10px;
transition: all .5s;
cursor: pointer;
}
.descisionTree img {
width: 50px;
margin-right: 20px;
transition: all .5s;
}
.descisionTree img:hover {
width: 55px;
}
.descisionTree span {
display: table-cell;
vertical-align: middle;
width: 600px;
}
.descisionTree.completed {
color: #999;
opacity: 0.4;
}
.descisionTree.completed img {
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-o-filter: grayscale(100%);
-ms-filter: grayscale(100%);
filter: grayscale(100%);
}
<div class="descisionTree completed">
<img src="https://cdn1.iconfinder.com/data/icons/Isloo_icons_by_IconFinder/128/light_bulb.png" />
<span>Stap 1</span>
</div>
<div class="descisionTree completed">
<img src="https://cdn1.iconfinder.com/data/icons/Isloo_icons_by_IconFinder/128/home_house.png" />
<span>Stap 2</span>
</div>
<div class="descisionTree ">
<img src="https://cdn1.iconfinder.com/data/icons/Isloo_icons_by_IconFinder/128/screen_on.png" />
<span>Stap 3</span>
</div>
// alert('Hello world!');
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment