Wie man ein Bild hinter den text in CSS?

Ich soll ein Bild angezeigt werden hinter text in eine <h1> tag. Aber wenn ich das Bild ersetzt den text und schiebt den text darunter.

Screenshots : Vor und Nach

CSS

body {
  background-color: #1a1a1a;
}
header,
h1 {
  text-align: center;
  font-family: CGF Locust Resistance;
  font-size: 50px;
  color: lightgray;
  -webkit-text-stroke: 1.5px #000;
}
header {
  margin: 0;
  padding: 0;
  height: 100px;
  border-bottom: .5px solid #b3b3b3;
}
nav {
  position: relative;
  top: -5px;
  margin: auto;
  padding: 0;
  list-style: none;
  width: 100%;
  text-align: center;
  border-bottom: .5px solid #b3b3b3;
}
nav ul li {
  display: inline;
  color: #fff;
  font-family: CGF Locust Resistance;
  font-size: 12.5px;
  padding: 20px;
}
.red {
  color: red;
}
#omen {
  z-index: -1;
}
  • Könnten Sie den html-code als auch?
InformationsquelleAutor Cian OT | 2016-05-24
Schreibe einen Kommentar