use css for header img
This commit is contained in:
parent
c6edb71ae2
commit
c784eb3d02
|
@ -6,7 +6,7 @@ class DDHeader extends HTMLElement {
|
||||||
connectedCallback() {
|
connectedCallback() {
|
||||||
this.innerHTML = `
|
this.innerHTML = `
|
||||||
<header>
|
<header>
|
||||||
<img id="headerimg" src="/watching.jpg" alt="cows with glowing eyes" width=150 height=150 />
|
<div id="headerimg"></div>
|
||||||
<div id="headermain">
|
<div id="headermain">
|
||||||
<p><a id="homelink" href="/">dairydemon.net</a></p>
|
<p><a id="homelink" href="/">dairydemon.net</a></p>
|
||||||
<nav>
|
<nav>
|
||||||
|
|
|
@ -32,6 +32,7 @@ footer {
|
||||||
height: 128px;
|
height: 128px;
|
||||||
width: 128px;
|
width: 128px;
|
||||||
flex: initial;
|
flex: initial;
|
||||||
|
background-image: url("/watching.jpg");
|
||||||
}
|
}
|
||||||
|
|
||||||
#headermain {
|
#headermain {
|
||||||
|
|
Loading…
Reference in New Issue