jquery - Remove CSS "content" property -
i have 3rdparty css contains following declaration:
:-webkit-any(body):after { content: ""; display: block; visibility: hidden; height: 0; font: 0/0; -webkit-transform: translatez(0); }
the content css property cause problem in jquery ui dialog - scrollbar disappears...
if removing content (putting in comment) works well. since 3rdparty, remove property code via jquery , not updating css. possible?
thanks sigal
you've tagged question jquery, it's important ot know not possible directly target :before
, :after
pseudo elements using javascript.
your options are:
write additional css code overrides styles don't want.
change original css selector (or html) such selector no longer applies don't want it.
Comments
Post a Comment