css实现棋盘式文字段落布局效果代码

代码语言:html

所属分类:布局界面

代码描述:css实现棋盘式文字段落布局效果代码

代码标签: css 棋盘式 文字 段落 布局

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


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

<head>

  <meta charset="UTF-8">
  

  
  
<style>
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;800&display=swap");
html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: "Raleway", sans-serif;
  font-size: clamp(12px, 2.5vmin, 20px);
  line-height: 150%;
  color: #2e0020;
  padding: 50px 0;
  overflow-x: hidden;
}
body::before {
  content: "";
  z-index: -1;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #fcfcfc;
  background-image: radial-gradient(#e6e6e6 0.8px, transparent 0), radial-gradient(#e6e6e6 0.8px, #fcfcfc 0);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
}

p {
  margin: 0;
}

h3 {
  line-height: 110%;
  font-size: clamp(20px, 5vmin, 38px);
  margin: 0 0.........完整代码请登录后点击上方下载按钮下载查看

网友评论0