几种实现垂直居中的方法
因为有CSS3的一些属性,所以代码使用saaa和compass来编写。compass是基于ruby开发的,所以要先安装ruby,然后在安装sass和compass。
进入到项目后,使用 compass init
来初始化项目,生成一些必要的文件,然后使用 compass watch
来监听文件。添加了sassCore这个库,它提供了CSS3常见属性的mixin,可以简化我们的sass代码,并且有很好的文档可以参考。
-
Notifications
You must be signed in to change notification settings - Fork 0
JSupot/display-center
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
几种实现垂直居中的方法
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published