Skip to content

Instantly share code, notes, and snippets.

View DaniGuardiola's full-sized avatar
🛠️
Creating stuff

Dani Guardiola DaniGuardiola

🛠️
Creating stuff
View GitHub Profile
@DaniGuardiola
DaniGuardiola / circle-in-rectangle.html
Last active February 2, 2016 10:56
[JAVASCRIPT] How to cover a rectangle with a circle when the circle's center is not at the same position as the rectangle's center
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Circle in rectangle</title>
</head>
<body>
<!--