Difference between revisions of "Template:Team:TU Eindhoven/Timeline CSS"

Line 24: Line 24:
  
 
#event{
 
#event{
position: relative;
+
position: absolute;
margin: 10px;
+
top: 10px;
min-height: 40px;
+
left: 10px;
 
width : 280px;
 
width : 280px;
 
border-radius: 15px;
 
border-radius: 15px;

Revision as of 20:30, 18 September 2015

#triangle{ width: 200px; height: 60px; background-size: 100% 100%; background-image: url('https://static.igem.org/mediawiki/2015/b/bf/TU_Eindhoven_Marker_CroppedSmall.png'); } #timeline{ background-size:100%; height:30px; width:1068px; background-image: url('https://static.igem.org/mediawiki/2015/0/08/TU_Eindhoven_timeline.png'); } #eventBorder{ width : 300px; min-height: 60px; border-radius: 20px; background-color: black; position: relative; } #event{ position: absolute; top: 10px; left: 10px; width : 280px; border-radius: 15px; background-image: url("https://static.igem.org/mediawiki/2015/c/ca/TU_Eindhoven_grey_bf.png"); }