Skip to content

Code for ::before in page about ::after #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Walkeryr opened this issue Feb 11, 2015 · 1 comment
Closed

Code for ::before in page about ::after #16

Walkeryr opened this issue Feb 11, 2015 · 1 comment
Assignees

Comments

@Walkeryr
Copy link

Not a real issue, more a little adjustment?
Article is about an ::after pseudo-element and example is featuring ::before pseudo-element.
http://tympanus.net/codrops/css_reference/after/

.element::before {
    content: url(path/to/image.png); /* an image, for example, an icon */
}

.element::before {
    content: "Note: "; /* a string */
}

.element::before {
    content: "\201C"; /* also counts as a string. Escaping the unicode; renders it as a character */
}
@SaraSoueidan
Copy link

Excellent catch! Thank you. Fixed! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants