Created
March 29, 2016 13:58
-
-
Save sphaero/7fac72459d8cf5a7618e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <style> | |
| #salaris_graph { | |
| background-color: black; | |
| color: white; | |
| width: 400px; | |
| height: 400px; | |
| padding: 1em; | |
| } | |
| #salaris_axis { | |
| border-left: gray 1px solid; | |
| border-bottom: gray 1px solid; | |
| } | |
| #salaris_axis_dash { | |
| width: 19%; | |
| float: left; | |
| border-left: gray 1px solid; | |
| height: 0.5em; | |
| } | |
| #salaris_score_bg { | |
| background-color: gray; | |
| height: 3em; | |
| position: absolute; | |
| z-index: 1; | |
| } | |
| #salaris_score { | |
| color: purple; | |
| background-color: transparent; | |
| border-right: 4px purple solid; | |
| height: 3em; | |
| position: absolute; | |
| z-index: 3; | |
| } | |
| #salaris_score_avg { | |
| color: white; | |
| background-color: #f50; | |
| height: 3em; | |
| position: absolute; | |
| z-index: 2; | |
| } | |
| .salaris_bar { | |
| color: #f50; | |
| background-color: white; | |
| padding-top: 1em; | |
| padding-bottom: 1em; | |
| height: 1em; | |
| margin: 2px; | |
| } | |
| .salaris_bar.active { | |
| background-color: transparent; | |
| height: 3em; | |
| padding-top: 0em; | |
| padding-bottom: 0em; | |
| } | |
| </style> | |
| <body> | |
| <script> | |
| </script> | |
| <div id="salaris_graph"> | |
| <div id="salaris_axis"> | |
| <div id="salaris_highest" class="salaris_bar" style="width: 200px">4000 en hoger</div> | |
| <div id="salaris_high" class="salaris_bar" style="width: 200px">3000 - 4000</div> | |
| <div id="test" class="salaris_bar active"> | |
| <div id="salaris_score_bg" style="width: 300px"></div> | |
| <div id="salaris_score_avg" style="width: 200px"></div> | |
| <div id="salaris_score" style="width: 100px"></div> | |
| 2000-3000 | |
| </div> | |
| <div id="salaris_low" class="salaris_bar">1000 - 2000</div> | |
| <div id="salaris_lowest" class="salaris_bar">1000 & lager</div> | |
| </div> | |
| <div id="salaris_axis_dash"></div><div id="salaris_axis_dash">2</div><div id="salaris_axis_dash">4</div><div id="salaris_axis_dash">6</div><div id="salaris_axis_dash">8</div> | |
| <div id="salaris_axis_text">Score</div> | |
| </div> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment