Html
    Css
    Js

    
                        
.container {
	display:flex;
	justify-content:center;
}
.container>div {
	width:100px;
	height:100px;
	border:1px solid gray;
	margin:0 10px;
}
.red {
	background-color:red;
}
.orange {
	background-color:orange;
}
.yellowgreen {
	background-color:yellowgreen;
}
body {
	text-align:center;
}
input {
	margin:10px 5px;
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:1.11.3
 立即下载

全屏切换背景颜色

0