how to make fixed position responsive

Solutions on MaxInterview for how to make fixed position responsive by the best coders in the world

showing results for - "how to make fixed position responsive"
Hailee
17 Feb 2019
1.responsive-div {
2    position: fixed;
3    width: 70vw; // vw being viewport-width, so 70% of the width of the viewport
4    height: 50vh; // vh being viewport-height, so 50% of the height of the viewport
5    /*works well for SVG's specifically*/
6}