How to make a square fork button in css style?

the code is as follows:

    <style>
        .cancel-btn {
            background: -sharpccc;
            color: white;
            padding: 1em;
        }
    </style>
</head>
<body>
    <h1>Testing</h1>

    <span class="cancel-btn"></span>

</body>

the effect of the picture is like this. The height is always a little larger than the width. How should I make a square button? Thank you, boss Thumt

.

clipboard.png


.cancel
    {
        width: 100px;
        height: 100px;
        background-color: -sharp333333;
        position: relative;
    }
    .cancel::before
    {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 50px;
        height: 10px;
        background-color: -sharpffffff; 
        transform: translateX(-50%) translateY(-50%) rotate(45deg);
    }
    .cancel::after
    {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 50px;
        height: 10px;
        background-color: -sharpffffff; 
        transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    }
<div class="cancel">

    </div>

https://codepen.io/jx915/pen/.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2b1f8-2ba74.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2b1f8-2ba74.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?