Created
June 18, 2014 05:37
-
-
Save hiun/72fa30368dedc2dfe4c4 to your computer and use it in GitHub Desktop.
Styling every `p` element with `NanumBarunGothic, sans-serif` or `anything, sans-serif`
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
javascript: | |
var p = document.getElementsByTagName('p'); | |
var len = p.length; | |
var i; | |
for (i = 0; i < len; i++) { | |
p[i].style.fontFamily='NanumBarunGothic'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Styling every
p
element withNanumBarunGothic, sans-serif
oranything, sans-serif