lesson 127: move TheHeader
This commit is contained in:
parent
332024563d
commit
0be7e38135
|
@ -1,11 +0,0 @@
|
|||
<template>
|
||||
<header>
|
||||
<h1>One big application</h1>
|
||||
</header>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {};
|
||||
</script>
|
||||
|
||||
<style></style>
|
|
@ -0,0 +1,25 @@
|
|||
<template>
|
||||
<header>
|
||||
<h1>One big application</h1>
|
||||
</header>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
header {
|
||||
width: 100%;
|
||||
height: 5rem;
|
||||
background-color: #640032;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
header h1 {
|
||||
color: white;
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
Reference in New Issue