Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

h5 / account

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • account
  • css
  • main.css
  • limin's avatar
    初始化 · c49ab144
    limin committed Jul 15, 2021
    c49ab144
main.css 378 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
@import url(https://www.layuicdn.com/layui/css/layui.css);
.app {
    display: flex;
    flex-direction: column;
}

header {
    flex-shrink: 0;
    height: 60px;
}

.content {
    flex: 1;
    overflow-y: auto;
    height: calc(100vh - 60px);
    background-color: #f8f8f8;
}

main {
    min-height: calc(100% - 30px);
}

footer {
    height: 30px;
    background-color: red;
}