What do you want to save?
Add Code snippet
New code examples
-
Html 2022-03-13 05:55:40
bootstrap checkbox
<div class="form-group"> <label for="exampleFormControlTextarea3">Rounded corners</label> <textarea class="form-control" id="exampleFormControlTextarea3" rows="7"></textarea&... Add solution -
Javascript 2021-11-06 02:51:19
canvas round rectangle
function draw() { var canvas = document.getElementById('canvas'); if (canvas.getContext) { var ctx = canvas.getContext('2d'); roundedRect(ctx, 12, 12, 150, 150, 15); roundedRect(ctx, 19, 19, 150, 150, 9); roundedRect(ctx, 53, 53, 49, ... Add solution -
Javascript 2021-10-17 15:20:09
canvas rounded corners on image
ctx.save(); ctx.beginPath(); // use lineTo and BezierTo here to make the path you want, which is a rectangle the size of the image with two rounded corners. ctx.closePath(); ctx.clip(); // draw the image using ctx.drawImage(.. ctx.restore(); // so clipp... Add solution