Skip to content

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

Closed
@Walkeryr

Description

@Walkeryr

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 */
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions