Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hel-guide
app
Commits
3f0dda51
Commit
3f0dda51
authored
Aug 20, 2017
by
JingChao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates ionic/ionic-code-style.md
Auto commit by GitBook Editor
parent
d1b0f774
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ionic-code-style.md
ionic/ionic-code-style.md
+3
-3
No files found.
ionic/ionic-code-style.md
View file @
3f0dda51
...
@@ -33,15 +33,15 @@
...
@@ -33,15 +33,15 @@
*
1)class选择器在SCSS文件里编写样式时要注意在前面加‘.’ ,如下图所示:
*
1)class选择器在SCSS文件里编写样式时要注意在前面加‘.’ ,如下图所示:
![](
/picture/a.png
)
![](/picture/a.png)
*
2)前端布局开发,建议使用flex布局(方便)
*
2)前端布局开发,建议使用flex布局(方便)
*
3)前端样式在写宽度 width时,必须使用百分号(%)来确定宽度,不允许使用px。原因:使用%来确定width,不会随着屏幕的增大而导致样式改变。如下图所示:
*
3)前端样式在写宽度 width时,必须使用百分号(%)来确定宽度,不允许使用px。原因:使用%来确定width,不会随着屏幕的增大而导致样式改变。如下图所示:
![](
/picture/a1.png
)
![](/picture/a1.png)
*
4)前端当一个页面引入了model框,那么要在该页面的scss下方导入model框的scss。如下图所示:
*
4)前端当一个页面引入了model框,那么要在该页面的scss下方导入model框的scss。如下图所示:
![](
/picture/a2.png
)
![](/picture/a2.png)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment