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
Youssef
  • 6,411
  • 18
  • 67
  • 115

0 Answers0