css布局实现彩虹效果

代码语言:html

所属分类:布局界面

代码描述:css布局实现彩虹效果

代码标签: 彩虹 效果

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


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

<head>

  <meta charset="UTF-8">
  
 <link href='https://fonts.googleapis.com/css?family=Allan' rel='stylesheet'>
  
  
  
<style>
body {
  padding: 0;
  margin: 0;
  background-color:#DDFFF7;
}
h3{
 font-family: 'Allan'; 
  margin-left:350px;
  margin-top:-60px;
}

.container {
  background-color:white;
  display: flex;
  height: 100vh;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
background-color:#DDFFF7;
}

.stripe1 {
  background-color:#ff0000 ;
  height: 250px;
  width: 500px.........完整代码请登录后点击上方下载按钮下载查看

网友评论0