Skip to content

Tag: css

Elementbyclass is not animating my element

NO JQUERY Please My animation is not working properly I tried to use document.getElementsByClassName but it won’t work at all there’s no error is just that the element is not animating properly. I want to do a quick change of color and also a small lettering animation but it will not implement on …

Change all border colors

I am trying to change all border colors on the current page once a button is clicked. I do this by toggling a class and define that class in CSS. The code above does not work as it applies a border to everything on the page, and removing the “border-style” will make the code invalid. Answer First …