I'm currently learning how to program HTML and CSS (we're talking 4 days of practicing on CodeCademy) and I have a question. I got this spec sheet for a task where they want me to make the navigation bar 69px in height exactly. The navigation bar already has some height to it, of course, as it wraps around the logo and text that's in it. So, how do I specify that I want it to be exactly 69px in height?
Screenshot here that describes what they ask of me. Thanks in advance!
CodePudding user response:
Hope all is going good!
go to the CSS file and write this.
.navbar{ height: 69px }
CodePudding user response:
For setting navbar height to 69px;
Inside your CSS file , simply write
.navbar{
height: 200px; /* Just an example height*/
}