Difference between revisions of "Team:TUDelft/Header"

Line 141: Line 141:
 
                 background-color: white; /* Set a background color */
 
                 background-color: white; /* Set a background color */
 
                 opacity: 0.65;
 
                 opacity: 0.65;
                color: white; /* Text color */
 
 
                 cursor: pointer; /* Add a mouse pointer on hover */
 
                 cursor: pointer; /* Add a mouse pointer on hover */
                 padding: 15px; /* Some padding */
+
                 padding: 10px; /* Some padding */
 
                 border-radius: 10px; /* Rounded corners */
 
                 border-radius: 10px; /* Rounded corners */
                font-size: 18px; /* Increase font size */
 
 
             }
 
             }
  
 
             #myBtn:hover {
 
             #myBtn:hover {
 
                 background-color: #def4fa; /* Add a background on hover */
 
                 background-color: #def4fa; /* Add a background on hover */
                 opacity: 0.65;
+
                 opacity: 0.8;
 
             }
 
             }
  
Line 174: Line 172:
 
             }
 
             }
  
            #myBtn {
+
     
                display: none; /* Hidden by default */
+
                position: fixed; /* Fixed/sticky position */
+
                bottom: 20px; /* Place the button at the bottom of the page */
+
                right: 30px; /* Place the button 30px from the right */
+
                z-index: 99; /* Make sure it does not overlap */
+
                border: none; /* Remove borders */
+
                outline: none; /* Remove outline */
+
                background-color: ; /* Set a background color */
+
                cursor: pointer; /* Add a mouse pointer on hover */
+
                padding: 15px; /* Some padding */
+
                border-radius: 10px; /* Rounded corners */
+
                font-size: 18px; /* Increase font size */
+
            }
+
 
+
            #myBtn:hover {
+
                background-color: #00a6d6; /* Add a dark-grey background on hover */
+
            }
+
 
+
  
  

Revision as of 12:09, 24 June 2019