Created
January 27, 2020 22:31
-
-
Save numanturle/37e061b8bdeb47830e50fb733eea551d to your computer and use it in GitHub Desktop.
css html via content svg url
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> | |
<meta charset="UTF-8"> | |
<title>Title of the document</title> | |
<link href="<?php echo (isset($_GET['css'])?htmlspecialchars($_GET['css']):null); ?>" rel="stylesheet"> | |
</head> | |
<body> | |
Content of the document...... | |
</body> | |
</html> |
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
body{ | |
background-color:black; | |
} | |
body::after{ | |
content:url('data:image/svg+xml; charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" height="600" width="800"><foreignObject y="0" x="0" height="100%" width="100%"><div style="color: green;font-size:250px" xmlns="http://www.w3.org/1999/xhtml"><marquee>bug bounty</marquee></div></foreignObject></svg>'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment