div+css布局实现图标文字卡片排列效果代码

代码语言:html

所属分类:布局界面

代码描述:div+css布局实现图标文字卡片排列效果代码

代码标签: div css 图标 文字 卡片 排列

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

<!DOCTYPE html>
<html lang="en" >
<head>
  <meta charset="UTF-8">

<style>
    *
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Ubuntu', sans-serif;
}
body 
{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #3c2846;
}
.container 
{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.card
{
  position: relative;
  width: 320px;
  height: 450px;
  margin: 30px;
  background: #287bff;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  border-bottom-left-radius: 160px;
  border-bottom-right-.........完整代码请登录后点击上方下载按钮下载查看

网友评论0