Skip to content
/ box Public

三种方式实现的定像素和非定像素布局

Notifications You must be signed in to change notification settings

su-dan/box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

box

  • 实现一个比较特殊的布局
  1. demo1.html是一种非固定像素的情况,百分比布局,使用浮动实现
  2. demo2.html是定像素的情况,侧边两个div固定像素,其他自适应,使用flex实现
  3. demo3.html也是侧边两个固定定像素的情况,使用浮动实现
  • 实现的布局大概就是这个样子 image

About

三种方式实现的定像素和非定像素布局

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages