单个div+css布局实现一个盒装柠檬汽水的效果代码

代码语言:html

所属分类:布局界面

代码描述: 单个div+css布局实现一个盒装柠檬汽水的效果代码

代码标签: 实现 一个 盒装 柠檬 汽水 效果

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


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

<head>


 
 
<style>
body {
  display: grid;
  place-items: center;
  height: 100vh;
  background: -webkit-gradient(linear, left top, left bottom, from(lightblue), color-stop(50%, #5fb3ce), color-stop(50%, rgba(0, 0, 0, 0.0001))), radial-gradient(circle at center, #e9b759, wheat 50%);
  background: linear-gradient(to bottom, lightblue, #5fb3ce 50%, rgba(0, 0, 0, 0.0001) 50%), radial-gradient(circle at center, #e9b759, wheat 50%);
}
body div {
  width: 200px;
  height: 600px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.0001), rgba(0, 0, 0, 0.25)) 0px 150px/150px 250px no-repeat, radial-gradient(ellipse at cent.........完整代码请登录后点击上方下载按钮下载查看

网友评论0