'CSS Bootstrap container custom width at certain breakpoint?

How would I set the container width to say 80% at breakpoint x-large and 70% at xx-large, but keep it 100% for all other breakpoints? I basically want width 100% up to x-large. Then 80% at x-large and 70% at x-large.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source