在实际开发的过程中点击一个按钮或者文字弹出一个modal是很常见的问题,为了方便初学者更好的使用modal我做了一下总结:
直接上代码:
head部分:
1
2
3
|
|
html部分:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<
body
ng-app
=
"myApp"
style
=
"background:#4A4A4A"
class
=
"row"
>
<
div
style
=
"color:#fff; font-size:30px; font-weight:bold; text-shadow:3px 3px 3px #ccc;-webkit-text-shadow:3px 3px 3px #ccc; text-align:center; margin-top:30px;"
>FE-演示平台</
div
>
<
section
class
=
"row"
>
<
|