Last active
December 23, 2015 20:49
-
-
Save pseale/6692283 to your computer and use it in GitHub Desktop.
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
<!-- 100% magic! note the "~/" --> | |
<img src="~/Content/Images/dog.png" /> | |
<!-- 20-50% magical! note the call to Url.Content("~/seizurerobots.gif") --> | |
<style> | |
.some-style { | |
background-image: url('@Url.Content("~/Content/Images/seizurerobots.gif")'); | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment