CSS 设置 100% 宽度

Creating a CSS Curtain Opening Effect | CSS-Tricks

1
2
3
4
5
.curtain {
  width: 100%; /* Ensures the component is the full screen width */
  height: 100vh; /* We're using this for demo purposes */
  overflow: hidden; /* Allows us to slide the panels outside the container without them showing */
}





评论和交流请发送邮件到 me@tianhegao.com





通过以下渠道赞赏此文