Group code on a line [closed]

6

Well, I'd like to change my CSS code by adding the parameters that are "joinable"

For example this code:

{
    margin-top: -2px; -> juntável com MARGIN
    margin-right: 40px; -> juntável com MARGIN
}

margin-X , padding-X parameters, among others, are available in this formula:

parameter: (TOP, RIGHT, BOTTOM, LEFT);

In this case it would look like this:

{
    margin: -2px, 30px, 0, 0;
}

How to do this in PHP or Javascript script that would do this process?

    
asked by anonymous 16.01.2016 / 18:23

0 answers