css布局实现一个时间线效果代码

代码语言:html

所属分类:布局界面

代码描述:css布局实现一个时间线效果代码

代码标签: css 时间线

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

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">




    <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600'>

    <style>
        @charset "UTF-8";
        body {
          background: linear-gradient(55deg, #4E75B9 30%, #5CBF98 90%);
          display: flex;
          align-items: center;
          justify-content: center;
          min-height: 100vh;
          width: 100vw;
          margin: 0;
          padding: 12vh 100px;
          font-family: "Source Sans Pro", arial, sans-serif;
          font-weight: 300;
          color: #333;
          box-sizing: border-box;
        }
        body * {
          box-sizing: border-box;
        }
        
        .timeline {
          width: 100%;
          max-width: 800px;
          background: #fff;
          padding: 100px 50px;
          position: relative;
          box-shadow: 0.........完整代码请登录后点击上方下载按钮下载查看

网友评论0