Difference between revisions of "Template:DTU-Denmark/carouselCSS"

(Created page with " <html> <style> html, body, main{ width: 100%; height: 100%; margin: 0; padding: 0; } #carousel{ position: relative; height: 350px; top: 50%; transform: tr...")
 
Line 16: Line 16:
 
   height: 350px;
 
   height: 350px;
 
   top: 50%;
 
   top: 50%;
  transform: translateY(-50%);
+
 
 
   overflow: hidden;
 
   overflow: hidden;
 
   display:block;
 
   display:block;
Line 111: Line 111:
  
 
div.positionBtn{
 
div.positionBtn{
  position: absolute;
+
 
  left: 50%;
+
  transform: translateX(-50%);
+
 
display:block;
 
display:block;
 
   margin-left:auto;
 
   margin-left:auto;
 
   margin-left:auto;
 
   margin-left:auto;
  margin-top:200px;
+
 
 
}
 
}
  

Revision as of 19:59, 31 July 2019