Answers for "how to make div size fixed"

0

fixed size body html

html {
    position: relative;
    min-width: 1024px;
    min-height: 768px;
    height: 100%;
}
<!-- Remove height 100% if needed fixed height -->
Posted by: Guest on August-20-2020
1

how to make textarea fixed size

resize: none;
Posted by: Guest on October-10-2020
0

how to make fixed position responsive

.responsive-div {
    position: fixed;
    width: 70vw; // vw being viewport-width, so 70% of the width of the viewport
    height: 50vh; // vh being viewport-height, so 50% of the height of the viewport
    /*works well for SVG's specifically*/
}
Posted by: Guest on July-28-2020

Browse Popular Code Answers by Language