may88seiji
9/11/2017 - 1:38 AM

changePseudo

changePseudo

p::before {
  content: '★';
}
p.is-active::before {
  color: red;
}
$('button').on('click', function() {
  $('p').addClass('is-active');
});