remove "next to each other" placement on smaller screen sizes

synonym remove
another word for remove or eliminate
remove bg video
remove definition synonyms
how to pronounce remove
opposite of remove
completely removed
unable to be removed

I want to create a responsive navigation bar for my page. I use floating divs for the logo and navigation link bar.

If you want to test the fiddle I recommend opening this on full screen.

#navbar {
  top: 0;
  position: sticky;
  height: 80px;
  padding: 0 160px;
  background: #232323;
}

.navbarItemContainer {
  height: 100%;
}

#navbarLogoContainer {
  display: flex;
  float: left;
  align-items: center;
}

#navbarLinkContainer {
  display: grid;
  grid-template-columns: 100px 100px 100px;
  float: right;
  text-align: center;
  align-items: center;
}

.navbarLink {
  color: #039be5;
  transition: 0.2s;
}

.navbarLink:hover {
  color: #25bdf7;
  transition: 0.2s;
}

.navbarLink>img {
  width: 32px;
  height: 32px;
  display: none;
}

@media only screen and (max-width: 1000px) {
  #navbar {
    padding: 0 60px;
  }
  .navbarLink>span {
    display: none;
  }
  .navbarLink>img {
    display: block;
  }
  .navbarLink>img {
    width: 24px;
    height: 24px;
  }
  #navbarLinkContainer {
    grid-template-columns: 24px 24px 24px;
    grid-gap: 0 40px;
  }
}

@media only screen and (max-width: 400px) {
  /* place logo above button bar */
  #navbar {
    background: red;
    /* just a test */
  }
}
<div id="navbar">

  <div id="navbarLogoContainer" class="navbarItemContainer">
    <a>
      <img class="img" src="/resources/logo.png">
    </a>
  </div>

  <div id="navbarLinkContainer" class="navbarItemContainer">

    <a class="navbarLink">
      <span>
           Link 1
      </span>
      <img class="img" src="">
    </a>

    <a class="navbarLink">
      <span>
          Link 2
      </span>
      <img class="img" src="">
    </a>

    <a class="navbarLink">
      <span>
          Link 3
      </span>
      <img class="img" src="">
    </a>

  </div>

</div>

Try this:

@media only screen and (max-width: 400px) {

  /* place logo above button bar */

  #navbar {
    background: red;
    /* just a test */
  }

  #navbarLogoContainer {
      display:block;
      float:none;
      text-align:center;
  }

  #navbarLinkContainer {
    display: block;
    width: 100%;
    text-align: center;
  }

  .navbarItemContainer {
      height: 30px;
      padding: 5px 0;
  }

  .navbarLink {
      display:inline-block;
  }

}

I also made a snippet:

#navbar {
  top: 0;
  position: sticky;
  height: 80px;
  padding: 0 160px;
  background: #232323;
}

.navbarItemContainer {
  height: 100%;
}

#navbarLogoContainer {
  display: flex;
  float: left;
  align-items: center;
}

#navbarLinkContainer {
  display: grid;
  grid-template-columns: 100px 100px 100px;
  float: right;
  text-align: center;
  align-items: center;
}

.navbarLink {
  color: #039be5;
  transition: 0.2s;
}

.navbarLink:hover {
  color: #25bdf7;
  transition: 0.2s;
}

.navbarLink>img {
  width: 32px;
  height: 32px;
  display: none;
}

@media only screen and (max-width: 1000px) {
  #navbar {
    padding: 0 60px;
  }
  .navbarLink>span {
    display: none;
  }
  .navbarLink>img {
    display: block;
  }
  .navbarLink>img {
    width: 24px;
    height: 24px;
  }
  #navbarLinkContainer {
    grid-template-columns: 24px 24px 24px;
    grid-gap: 0 40px;
  }
}

@media only screen and (max-width: 400px) {

  /* place logo above button bar */

  #navbar {
    background: red;
    /* just a test */
  }

  #navbarLogoContainer {
      display:block;
      float:none;
      text-align:center;
  }

  #navbarLinkContainer {
    display: block;
    width: 100%;
    text-align: center;
  }

  .navbarItemContainer {
      height: 30px;
      padding: 5px 0;
  }

  .navbarLink {
      display:inline-block;
  }

}
<div id="navbar">

  <div id="navbarLogoContainer" class="navbarItemContainer">
    <a>
      <img class="img" src="/resources/logo.png">
    </a>
  </div>

  <div id="navbarLinkContainer" class="navbarItemContainer">

    <a class="navbarLink">
      <span>
           Link 1
      </span>
      <img class="img" src="">
    </a>

    <a class="navbarLink">
      <span>
          Link 2
      </span>
      <img class="img" src="">
    </a>

    <a class="navbarLink">
      <span>
          Link 3
      </span>
      <img class="img" src="">
    </a>

  </div>

</div>

Remove Background from Image – remove.bg, . dismiss, discharge, get rid of, dislodge, displace, throw out, evict, eject, expel, oust, purge, unseat, depose, topple, supplant. dethrone. informal sack, fire, kick out, boot out, defenestrate, give someone the boot, give someone their marching orders, show someone the door. Remove definition is - to change the location, position, station, or residence of. How to use remove in a sentence. to change the location, position, station, or residence of; to transfer (a legal proceeding) from one court to another… See the full definition

here is a simple working example that can help you with your code

.container {
    height: 100vh;
}
.navbar {
    display: flex;
}
.navbar .logo-container {
    flex: 1;
    display: flex;
}
.navbar .logo-container span {
    flex: 1;
}
.navbar .links-container {
    flex: 1;
    display: flex;
}
.navbar .links-container div {
    flex: 1;
}
@media only screen and (max-width: 400px) {
    .navbar {
        display: grid;
        grid-template-rows: 150px auto;
        grid-template-columns: repeat(6, 1fr);
    }
    .navbar .logo-container {
        grid-column: 1/7;
        display: flex;
        justify-content: center;
        text-align: center;
    }
    .navbar .links-container {
        grid-column: 1/7;
        display: flex;
    }
}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
</head>
<body>
<div class="container">
    <div class="navbar">
        <div class="logo-container">
            <span>image</span>
        </div>
        <div class="links-container">
            <div>link1</div>
            <div>link2</div>
            <div>link3</div>
            <div>link4</div>
            <div>link5</div>
            <div>link6</div>
        </div>
    </div>
</div>
</body>
</html>

remove, Definition of remove. (Entry 1 of 2). transitive verb. 1a : to change the location, position, station, or residence of remove soldiers to the front. b : to transfer (a legal  the act of removing, esp (formal) a removal of one's residence or place of work 8. the degree of difference separating one person, thing, or condition from another: only one remove from madness. 9.

For 400px I think I'll go for this one

What do you think about this solution?

@media only screen and (max-width: 400px){
    #navbar {
        height: 100px;
        padding: 0 5px;
    }

    #navbarLogoContainer {
        height: 50%;
        display: block;
        float: none;
        text-align: center;
    }

    #navbarLinkContainer {
        height: 50%;
        display: grid;
        float: none;
        grid-template-columns: 16.66% 16.66% 16.66% 16.66% 16.66% 16.66%;
        justify-items: center;
        grid-gap: 0 5px;
    }
}

#navbar {
  top: 0;
  position: sticky;
  height: 80px;
  padding: 0 160px;
  background: #232323;
}

.navbarItemContainer {
  height: 100%;
}

#navbarLogoContainer {
  display: flex;
  float: left;
  align-items: center;
}

#navbarLinkContainer {
  display: grid;
  grid-template-columns: 100px 100px 100px;
  float: right;
  text-align: center;
  align-items: center;
}

.navbarLink {
  color: #039be5;
  transition: 0.2s;
}

.navbarLink:hover {
  color: #25bdf7;
  transition: 0.2s;
}

.navbarLink>img {
  width: 32px;
  height: 32px;
  display: none;
}

@media only screen and (max-width: 1000px) {
  #navbar {
    padding: 0 60px;
  }
  .navbarLink>span {
    display: none;
  }
  .navbarLink>img {
    display: block;
  }
  .navbarLink>img {
    width: 24px;
    height: 24px;
  }
  #navbarLinkContainer {
    grid-template-columns: 24px 24px 24px;
    grid-gap: 0 40px;
  }
}

@media only screen and (max-width: 400px) {
  /* place logo above button bar */
  #navbar {
    background: red;
    /* just a test */
  }
}
<div id="navbar">

  <div id="navbarLogoContainer" class="navbarItemContainer">
    <a>
      <img class="img" src="/resources/logo.png">
    </a>
  </div>

  <div id="navbarLinkContainer" class="navbarItemContainer">

    <a class="navbarLink">
      <span>
           Link 1
      </span>
      <img class="img" src="">
    </a>

    <a class="navbarLink">
      <span>
          Link 2
      </span>
      <img class="img" src="">
    </a>

    <a class="navbarLink">
      <span>
          Link 3
      </span>
      <img class="img" src="">
    </a>

  </div>

</div>

Remove, VerbEdit. remove (third-person singular simple present removes, present participle removing, simple past and past participle removed). (  Remove definition, to move from a place or position; take away or off: to remove the napkins from the table. See more.

remove, Synonyms for remove at Thesaurus.com with free online thesaurus, antonyms, and definitions. Find descriptive alternatives for remove. to take something or someone away from somewhere, or off something: The men came to remove the rubbish from the backyard. This detergent will remove even old stains. It got so hot that he removed his tie and jacket.

Remove, remove meaning: 1. to take something or someone away from somewhere, or off something: 2. to make a negative…. Learn more. 41 synonyms of remove from the Merriam-Webster Thesaurus, plus 83 related words, definitions, and antonyms. Find another word for remove. Remove: to rid oneself of (a garment).

remove, In addition to the elements themselves, all bound events and jQuery data associated with the elements are removed. To remove the elements without removing  Remove is a powerful utility for uninstalling programs you no longer want on your computer. You can easily get rid of unnecessary applications, partially uninstalled software, and unwanted Windows

Comments
  • Hm... flex, float and grid, interesting combination, but mixing too many spices won't improve the meal. Can be easily done with just flex or just grid, and forget floats.