<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>企鹅</title>
<link rel="stylesheet" type="text/css" href="penguin.css">
<style type="text/css">
.penguin{
width: 650px;
height: auto;
margin: 0 auto;
position: relative;
}
/*头部*/
header{
width: 425px;
height: 340px;
border: 1px solid black;
background-color: black;
border-top-left-radius: 50% 60%;
border-top-right-radius: 50% 60%;
border-bottom-left-radius: 50% 40%;
border-bottom-right-radius: 50% 40%;
position: absolute;
left: 125px;
top:20px;
z-index: 4;
}
/*眼睛*/
.eyeleft, .eyeright{
width: 75px;
height: 112px;
position: absolute;
background-color: white;
border: 1px solid black;
border-radius: 50%;
}
.eyeleft{
left: 120px;
top:90px;
}
.eyeright{
left: 230px;
top:90px;
}
.eyeleft .eyes{
width: 27px;
height: 46px;
backgro
用代码模仿QQ企鹅
最新推荐文章于 2025-05-12 10:26:05 发布