Home >Web Front-end >CSS Tutorial >JavaScript access Css

JavaScript access Css

高洛峰
高洛峰Original
2016-11-26 14:22:501138browse

html+js code:

"http://www.w3c.org/TG/xhtml/DTD/xhtml-transitional .dtd">


changeColor.html









(this);">



css code:

.style1{
width: 600px;
height: 400px;

background-color: black;

}



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn