title: Increasing the height isn't working in a <img> tag
body: <p><a href="https://i.stack.imgur.com/fxjXc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fxjXc.png" alt="enter image description here" /></a>I'm not knowing how to increase the height of vitaminpic, which is under container. I'm still new to development, and I know this seems like an amateur mistake. I tried everything I can but it's not working. I believe it has to do with with the fact that it is under the container. I'm trying to make a website that sells vitamins, still new to it but I'm still trying.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>@import url('https://fonts.googleapis.com/css2?family=Syne+Mono&amp;display=swap');
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
  }
  
  .background {
    width: 100%;
    height: 100vh;
    background-color: #e0d1cb;
    position: relative;
    overflow: hidden;
    z-index: 2;
  }
  
  .nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
    background-color: #e0d1cb;
    font-family: 'Syne Mono', monospace;
    z-index: 3;
  }
  
  .nav-links {
    display: flex;
    justify-content: space-around;
    width: 30%;
    font-family: 'Syne Mono', monospace;
  }
  
  .nav-links li {
    list-style: none;
    font-family: 'Syne Mono', monospac
  }
  
  .nav-links a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: bold;
    font-size: 14px;
    font-family: 'Syne Mono', monospac
  }
  
  .burger {
    display: none;
  }
  
  .burger div {
    width: 25px;
    height: 3px;
    background-color: rgb(226, 226, 226);
    margin: 5px;
    transition: all 0.3s ease;
  }
  
  @media screen and (max-width: 1024px) {
    .nav-links {
      width: 60%;
    }
  }
  
  @media screen and (max-width: 768px) {
    body {
      overflow-x: hidden;
    }
    .nav-links {
      position: fixed;
      right: 0px;
      height: 92vh;
      top: 8vh;
      background-color: #e0d1cb;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 20%;
      transform: translateX(100%);
      transition: transform 0.5s ease-in;
    }
    .nav-links li {
      opacity: 0;
    }
    .burger {
      display: block;
      cursor: pointer;
    }
  }
  
  .nav-active {
    transform: translateX(0%);
  }
  
  @keyframes navLinkFade {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .toggle .line2 {
    opacity: 0;
  }
  
  .toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  @import url('https://fonts.googleapis.com/css2?family=Syne+Mono&amp;display=swap');
  .logo {
    resize: both;
    font-family: 'Syne Mono', monospace;
  }
  
  .link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #000000;
    transition: width .3s;
  }
  
  .link:hover::after {
    width: 100%;
    transition: width .3s;
  }
  
  .header {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5)
  }
  
  .header ul {
    text-align: center;
  }
  
  .header ul li {
    list-style: none;
    display: inline-block;
  }
  
  .header ul li a {
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    font-size: 100%;
    letter-spacing: 2px;
    font-weight: 600;
    padding: 25px;
    transition: width .3s;
  }
  
  .content {
    color: #fbfcfd;
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 2;
  }
  
  .heading1 {
    font-size: 300%;
    margin-bottom: 10px 0 30px;
    background: transparent;
    position: relative;
    animation: text 5s 1;
    left: 120%;
  }
  
  @keyframes text {
    0% {
      color: transparent;
      margin-bottom: -40px;
    }
    30% {
      letter-spacing: 4px;
      margin-bottom: -40px;
    }
    85% {
      letter-spacing: 3px%;
      margin-bottom: -40px;
    }
  }
  
  .welcome {
    font-size: 30px;
    position: relative;
  }
  
  .container {
    position: absolute;
    height: 80%;
    width: 30%;
    background: #dfcac1;
    top: 50%;
    left: 35%;
    transform: translate(-43%, -60%);
  }
  
  .container img {
    size: ;
  }
  
  .vitaminpic {
    width: 100%;
    transform: translate(10%, 80%);
    padding: 0 10;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;head&gt;
    &lt;link rel="stylesheet" href="home.css"&gt;
  &lt;/head&gt;
  &lt;header class="site-header"&gt;&lt;/header&gt;
  &lt;div class="background"&gt;
    &lt;div class="nav"&gt;
      &lt;h1 class="logo"&gt;Realvite&lt;/h1&gt;
      &lt;ul class="nav-links"&gt;
        &lt;li&gt;
          &lt;a href="#" class="link1"&gt;
            &lt;div class="link1"&gt;Home&lt;/div&gt;
          &lt;/a&gt;
        &lt;/li&gt;
        &lt;li&gt;&lt;a href="#" class="link"&gt;Shop&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#" class="link"&gt;Contact&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
      &lt;div class="burger"&gt;
        &lt;div class="line1"&gt;&lt;/div&gt;
        &lt;div class="line2"&gt;&lt;/div&gt;
        &lt;div class="line3"&gt;&lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;/nav&gt;
    &lt;div class="container"&gt;
  
      &lt;img src="/images/capsule-1079838_1920.jpg" alt="" class="vitaminpic"&gt;
    &lt;/div&gt;
  
    &lt;p style="font-size: 1px;"&gt;قيل قديقال&lt;/p&gt;
    &lt;div class="content"&gt;
      &lt;small class="welcome"&gt;&lt;/small&gt;
      &lt;h1 class="heading1"&gt;&lt;/h1&gt;
  
    &lt;/div&gt;
  &lt;/div&gt;
  
  
  
  
  &lt;script src="script.js"&gt;&lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>