JS change page color source sharing

Let’s first see the specific demo renderings

JS改变页面颜色源码分享

The following is a complete HTML page code, you can test it.

   Document   .big_box {width: 500px; Height: 500px; border: 1px solid black;} .big_box input {margin-left: 60px;}   function change_red () {var red = document.getElementByid ("change_style"; red.style.backgroundcolor = "red";} function Change_blue () {var Blue = document.getElementById ( "change_style"); Blue.style.backgroundColor = "blue";} function Change_green () {var Green = document.getElementById ( "change_style"); Green.style.backgroundColor = "Green";}       
© Copyright Notice
THE END
Just support it if you like
like0
share
comment Grab the couch

Please log in to comment