Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .dropdown-submenu {
- position: relative;
- }
- .dropdown-submenu .dropdown-menu {
- top: 0;
- left: 100%;
- margin-top: -1px;
- }.container{
- width: 1500px;
- height: 1000px;
- background-color: white;
- }#mySidenav a {
- position: absolute; /* Position them relative to the browser window */
- left: -180px; /* Position them outside of the screen */
- transition: 0.3s; /* Add transition on hover */
- padding: 15px; /* 15px padding */
- width: 300px; /* Set a specific width */
- text-decoration: none; /* Remove underline */
- font-size: 20px; /* Increase font size */
- color: white; /* White text color */
- border-radius: 0 5px 5px 0; /* Rounded corners on the top right and bottom right side */
- }
- #mySidenav a:hover {
- left: 0; /* On mouse-over, make the elements appear as they should */
- }
- #about {
- top: 50px;
- background-color: #4CAF50;
- }
- #blog {
- top: 80px;
- background-color: #2196F3; /* Blue */
- }
- #projects {
- top: 140px;
- background-color: #f44336; /* Red */
- }
- #contact {
- top: 200px;
- width: 20%;
- background-color: #555 /* Light Black */
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement