document.getElementsByClassName("squear").style.display = "block"; code example
Example: getelementsbyclassname.style.display
document.getElementsByClassName('xyz')[0].style.display = 'none';
document.getElementsByClassName('xyz')[0].style.display = 'none';