      <div class="output">
            <div id="gradient"></div>
            <div class="colors">
                <input type="color" id="color-a" value="#42b7ff" />
                <input type="color" id="color-b" value="#151fe0" />
            </div>
            <div class="buttons">
                <button onclick="setDirection('to top', this)">
                    <i class="fas fa-arrow-up"></i>
                </button>
                <button class="active" onclick="setDirection('to bottom', this)">
 