File tree Expand file tree Collapse file tree 6 files changed +68
-2
lines changed Expand file tree Collapse file tree 6 files changed +68
-2
lines changed Original file line number Diff line number Diff line change
1
+ @font-face {
2
+ font-family : 'icomoon' ;
3
+ src : url ('fonts/icomoon.eot?mlcno2' );
4
+ src : url ('fonts/icomoon.eot?mlcno2#iefix' ) format ('embedded-opentype' ),
5
+ url ('fonts/icomoon.ttf?mlcno2' ) format ('truetype' ),
6
+ url ('fonts/icomoon.woff?mlcno2' ) format ('woff' ),
7
+ url ('fonts/icomoon.svg?mlcno2#icomoon' ) format ('svg' );
8
+ font-weight : normal;
9
+ font-style : normal;
10
+ }
11
+
12
+ [class ^= "icon-" ], [class *= " icon-" ] {
13
+ /* use !important to prevent issues with browser extensions that change fonts */
14
+ font-family : 'icomoon' !important ;
15
+ speak : none;
16
+ font-style : normal;
17
+ font-weight : normal;
18
+ font-variant : normal;
19
+ text-transform : none;
20
+ line-height : 1 ;
21
+
22
+ /* Better Font Rendering =========== */
23
+ -webkit-font-smoothing : antialiased;
24
+ -moz-osx-font-smoothing : grayscale;
25
+ }
26
+
27
+ .icon-dice : before {
28
+ content : "\e900" ;
29
+ }
30
+ .icon-spades : before {
31
+ content : "\e901" ;
32
+ }
33
+ .icon-bin : before {
34
+ content : "\e902" ;
35
+ }
36
+ .icon-star-empty : before {
37
+ content : "\e903" ;
38
+ }
39
+ .icon-star-full : before {
40
+ content : "\e904" ;
41
+ }
42
+
Original file line number Diff line number Diff line change 3
3
< head >
4
4
< meta charset ="utf-8 ">
5
5
< title > iBoards</ title >
6
+ < link rel ="stylesheet " href ="css/fonts.css "> </ head >
6
7
</ head >
7
8
< body >
8
9
< div id ="app ">
10
+ < select v-model ="type ">
11
+ < option value ="icon-dice "> Board Game</ option >
12
+ < option value ="icon-spades "> Card Game</ option >
13
+ </ select >
9
14
< input v-model ="game ">
10
- {{ game }}
15
+ < p >
16
+ < span :class ="type "> </ span >
17
+ {{ game }}
18
+ </ p >
11
19
</ div >
12
20
< script src ="node_modules/vue/dist/vue.js "> </ script >
13
21
< script >
14
22
var app = new Vue ( {
15
23
el : '#app' ,
16
24
data : {
17
- game : 'Hello!'
25
+ game : 'Snakes and Ladders' ,
26
+ type : 'icon-dice'
18
27
}
19
28
} )
20
29
</ script >
You can’t perform that action at this time.
0 commit comments