div+css实现响应式自适应落地页代码

代码语言:html

所属分类:响应式

代码描述:div+css实现响应式自适应落地页代码

代码标签: div css 响应式 自适应 落地页 代码

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

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

<head>
 
<meta charset="UTF-8">
 

 
 
<style>
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap');

/* DEFAULT VALUES */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100dvh;
}

/* ANIMATED BACKGROUND */

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
        min-height: 100dvh;
        overflow: hidden;
        position: relative;
}

.blob-container {
        min-height: 100vh;
        overflow: hidden;
        position:absolute;
        width: 100%;
  filter: blur(5px);
}

.blob {
        background:#26C3F9;
  border-radius: 50%;
  animation: movement_one 12s ease-in-out infinite both;
        opacity: 0.8;
        position: absolute;
        left: 75%;
        top: 20%;
}

.blob.one{
        background: #ccf6c8;
        height: 200px;
        width: 200px;
        left: 10px;
        top: 10px;
        transform: rotate(-180deg);
        animation: movement_two 20s ease-in-out infinite both;
}

.blob.two{
        background: #fdcedf.........完整代码请登录后点击上方下载按钮下载查看

网友评论0