normalize.css icon indicating copy to clipboard operation
normalize.css copied to clipboard

Combine `pre` and `code, kbd, sample` declarations

Open erdaltsksn opened this issue 7 years ago • 3 comments

There are two separate declaration with same properties. Is it possible to combine them?

CURRENT:

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

PROPOSED:

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre,
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

erdaltsksn avatar Jan 02 '19 19:01 erdaltsksn

can i work with this?

ReenaSingh07 avatar Jan 29 '19 17:01 ReenaSingh07

can i work with this?

I have already sent a pull request for this.

erdaltsksn avatar Jan 29 '19 19:01 erdaltsksn

Any news?

seothemes avatar Feb 19 '21 15:02 seothemes