css用emoji符号布局的动物世界效果代码

代码语言:html

所属分类:布局界面

代码描述:css用emoji符号布局的动物世界效果代码

代码标签: 符号 布局 动物世界 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开


<!DOCTYPE html>
<html lang="en" >

<head>

  <meta charset="UTF-8">

  
  
  
  
<style>
body,
html {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

body {
	background: lightblue;
}

#grass {
	width: 100%;
	height: 250px;
	position: absolute;
	bottom: 0;
	left: 0;
	background: green;
}

#plant1 {
	display: inline-block;
	font-size: 35px;
	transform: rotate(-40deg);
	position: absolute;
	right: 300px;
}

#plant2 {
	display: inline-block;
	font-size: 35px;
	transform: rotate(-40deg);
	position: absolute;
	left: 100px;
	bottom: 180px;
}
#tree {
	display: inline-block;
	font-size: 200px;
	position: absolute;
	right: 100px;
	bottom: 160px;
}
#sham {
	display: inline-block;
	font-size: 35px;
	transform: rotate(30deg);
	position: absolute;
	left: 300px;
	bottom: 100px;
}

#parrot {
	display: inline-block;
	font-size: 50px;
	position: absolute;
	right: 150px;
	bottom: 350px;
}

#peacock {
	display: inline-block;
	font-size: 70px;
	position: absolute;
	left: 350px;
	bottom: 150px;
}

#water {
	width: 200px;
	height: 100px;
	position: absolute;
	transform: rotatex(70deg);
	border-bottom-left-radius: 100px;
	border-bottom-right-radius: 100px;
	background: #26a7ed;
	bottom: 182.5px;
	left: 300px;
}

#swan {
	display: inline-block;
	font-size: 30px;
	position: absolute;
	left: 350px;
	bottom: 230px;
	animation: swim 2s infinite;
}

#flamingo {
	display: inline-block;
	font-size: 40px;
	position: absolute;
	left: 440px;
	bottom: 230px;
}

#duck {
	display: inline-block;
	font-size: 30px;
	position: absolute;
	left.........完整代码请登录后点击上方下载按钮下载查看

网友评论0