0

how can put html code in content attribute of pseudo element :after in pure css ? if not with javascript.

.foo:after {
    content: 'foo<br/>moo';
}

it display me :

foo<br/>moo

not

foo
moo
Hayi
  • 6,972
  • 26
  • 80
  • 139

0 Answers0