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

JavaScript access Css

高洛峰
Release: 2016-11-26 14:22:50
Original
1116 people have browsed it

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;

}



Related labels:
css
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template