commit | author | age | ||
ff51ab | 1 | <template> |
CM | 2 | <header> |
3 | <h1>More on Vue Components</h1> | |
4 | </header> | |
5 | </template> | |
6 | ||
ac100d | 7 | <style scoped> |
ff51ab | 8 | header { |
CM | 9 | width: 100%; |
10 | height: 5rem; | |
11 | display: flex; | |
12 | justify-content: center; | |
13 | align-items: center; | |
14 | background-color: #14005e; | |
15 | } | |
16 | ||
17 | header h1 { | |
18 | color: white; | |
19 | margin: 0; | |
20 | } | |
21 | </style> |