Search
 
SCRIPT & CODE EXAMPLE
 

HTML

navbar css code

header img {
    height: 80px;
    margin-left: 40px;
}
body {
    height: 125vh;
    background-image: url('https://codetheweb.blog/assets/img/posts/style-a-navigation-bar-css/background.jpg');
    background-size: cover;
    font-family: sans-serif;
    margin-top: 80px;
    padding: 30px;
}

main {
    color: white;
}

header {
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 0 25px 0 black;
}

header * {
    display: inline;
}

header li {
    margin: 20px;
}

header li a {
    color: black;
    text-decoration: none;
}
Comment

PREVIOUS NEXT
Code Example
Html :: livewire wire:targer multiple target 
Html :: twig html to markdow 
Html :: htaml p 
Html :: icon copy font awesome 
Html :: dropbox embed 
Html :: textbox readonly 
Html :: document.getElementByClassName("preview").innerHTML=src; 
Html :: textarea adds unwanted spaces 
Html :: angular variable in html 
Html :: html input number no write symbol 
Html :: bootstrap badge-pill button 
Html :: conditions option in html 
Html :: checkbox true odoo 13 
Html :: chrome empty page editable 
Html :: une solitude 
Html :: html fecha mes y año 
Html :: how to get a adminitration password for filezilla server 
Html :: date 
Html :: mac mail paste without formatting 
Html :: ubuntu 18.10 vmware 
Html :: mobile app 
Html :: background instagram image in html 
Html :: Center-aligned media 
Html :: change on word html 
Html :: alert before delete in anchor tag 
Html :: file download button html 
Html :: boostrap date input withour day 
Html :: spin the wheel html 
Html :: Rollup failed to resolve import from "index.html". 
Html :: Google Books Embedded Viewer API Example 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =