Created
December 29, 2017 09:24
-
-
Save gbirke/1cdfeeafb7be6a638455a08d1b250f68 to your computer and use it in GitHub Desktop.
Testing SVG background images
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>SVG-Test</title> | |
<style> | |
.foo { | |
background:url('Thank-you-2017-background-900.svg') no-repeat top center; | |
background:url('https://upload.wikimedia.org/wikipedia/commons/9/9b/Thank-you-2017-background-1200.svg') no-repeat> | |
background-size: cover; | |
height:300px; | |
border: solid 5px green; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="foo"> | |
Inhalt | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment