通过这几天对css(级联样式表)的理解,简单制作一张百度注册页面
话不多说代码奉上
代码
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style type="text/css">
#img{
background-image: url(img/reg_bg_min.jpg);
background-repeat: no-repeat;
}
*{
margin: 0px;
padding: 0px;
}
#box{
width:400px;
height: 500px;
background-color: white;
border-radius: 20px;
opacity: 0.8;
position: absolute;
right :100px;top: 100px;
}
#box2{