Answers for "make canva responsive"

1

make canva responsive

<div class="outer">
 <canvas id="canvas"></canvas>
</div> 

.outer {
 position: relative;
 width: 100%;
 padding-bottom: 100%;
}

#canvas {
 position: absolute;
 width: 100%;
 height: 100%;
}
Posted by: Guest on May-11-2021
0

make canva responsive

.outer {
 position: relative;
 width: 100%;
 padding-bottom: 100%;
}

#canvas {
 position: absolute;
 width: 100%;
 height: 100%;
}
Posted by: Guest on May-11-2021
0

make canva responsive

<div class="outer">
 <canvas id="canvas"></canvas>
</div>
Posted by: Guest on May-11-2021

Browse Popular Code Answers by Language