In example I have a selector and it's associated properties and values but I just want to crop off everything from the initial curely bracket.
So I want to turn this...
Code: Select all
$my_var1 = '#welcome {background-color: #111; background-image: url(general/11/001.gif); border-color: #99f; color: #ccc;';Code: Select all
$my_var2 = '#welcome';