Skip to content
Snippets Groups Projects
Commit d126563e authored by WilliamHVollita's avatar WilliamHVollita
Browse files

Upload From local development env

parent 9577537a
No related branches found
No related tags found
No related merge requests found
Pipeline #20396 passed
......@@ -5,25 +5,22 @@
{% block page_content %}
<style>
.firstPage{
/* 弹性布局 */
display: flex;
/* 100%窗口高度和宽度 */
<style type="text/css">
section{
height: 100vh;
width: 100vw;
/* 设置滚动贴合的方式,沿x轴滚动,mandatory表示强制滚动 */
scroll-snap-align: center;
scroll-snap-type: y mandatory;
/* 溢出时,水平保留滚动条,垂直隐藏滚动条 */
overflow-x: hidden;
overflow-y: hidden;
scroll-padding: 40px;
overflow-y: scroll;
scroll-padding: 80px;
}
</style>
<div class="firstPage">
<section>
<h1> Cancer ! </h1>
</div>
</section>
<p>hel1</p>
<p>hel1</p>
<p>hel1</p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment