Code, CSS, Flexbox, Web Development.
#d9d9d9; display: flex; align-items: center; } The .navbar div is the main container for the header. We are using display:flex; to turn this container into a flexbox andalign-items: center; is used to align them to the center vertically. This property works only when the container is a flexbox. To