header.vue
718 Bytes
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
32
33
34
35
36
37
38
39
40
41
42
43
<template>
<header>
<div class = "headerBox">
<div class = "logo_content"> KHU NOTICE</div>
<img class = "logo" src = "../assets/khlogo.png">
</div>
</header>
</template>
<script>
export default {
name: 'header',
data () {
return {
}
}
}
</script>
<style>
header{
height: 443px;
background:linear-gradient(131deg,rgb(247,183,66),rgb(252,74,66));
}
.headerBox{
width:1010px;
height: inherit;
margin: 0 auto 0 auto;
position: relative;
}
.logo{
position: absolute;
right: 50px;
}
.logo_content{
color: white;
font-family: 'BIGJOHN';
font-size: 60px;
display: block;
position: absolute;
top:100px;
}
</style>