Vivian wants to use shorthand properties for a background for her new website. What would be the proper element?

1. border:2px; border: solid; border: #000;

2. border-width:2px;
border-style:solid;
border-color: #000

3. border: 2px solid #000;

4. border-width: 2px; style: solid; color: #000;

Why are shorter CSS files easier to maintain in web design?

1. Browsers are able to translate CSS

2. CSS programming converters create more space

3. CSS shorthand take up less space

4. HTML translators have been developed

Respuesta :

1. There are two equivalent options: 
     2. border-width:2px; 
         border-style:solid; 
         border-color: #000 
and 
3. border: 2px solid #000;

As for programmers: "Shorter = better". So option 3 is your choice.

2. I think it's a very tricky question and I can't see correct answer. But in my opinion this one is the most possible: 
3. CSS shorthand take up less space. Shorter files = less mistakes.