* {
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
}

section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: black;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    animation: changecolour 5s linear infinite;
}

@keyframes changecolour {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

span {
    position: relative;
    width: 40px;
    height: 40px;
    display: block;
}

span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00ff0a;
    transform: scale(0.1);
    box-shadow: 0 0 10px #00ff0a, 0 0 20px #00ff0a, 0 0 40px #00ff0a, 0 0 60px #00ff0a, 0 0 80px #00ff0a, 0 0 100px #00ff0a;
    border-radius: 50%;
    pointer-events: none;
    transition: 2s;
}

span:hover:before {
    transform: scale(1);
    transition: 0s;
}