In this example below you will see how to do a 99-width with some HTML / CSS and Javascript

This awesome code was written by SebZaremba, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright SebZaremba ©
  • HTML
  • CSS
  • JavaScript
    <h1>Wonder Woman</h1>
<p>L’avenir de la Justice League&nbsp;?</p>
<img src="https://images.moviepilot.com/image/upload/ndfftvngnarmd49iosrd.jpg" alt="Wonder Woman" width="960" height="540"/>

/*Downloaded from https://www.codeseek.co/SebZaremba/99-width-ZvjYaq */
    img {
  width: 300px;
  height: auto;

/* La largeur CSS supplante la largeur HTML

/*Downloaded from https://www.codeseek.co/SebZaremba/99-width-ZvjYaq */