Sobes.tech
Junior — Senior

Creating a round close button with a cross inside

livecode

Task condition

Create a round close button with a cross inside. Each line of the cross should be 75% of the button's width, with a thickness of 2 px. When resizing the button, the cross lines should automatically scale, maintaining a 3/4 proportion of the width.

 <!DOCTYPE html>
<html>
<head>
    <title>JavaScript Sandbox</title>
    <meta charset="UTF-8" />
</head>

<body>
    <img
    src=""
    alt="" />
    </div>
    <script src="/index.js" type="module"></script>
    </body>
</html>