You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My own resetcss will probably never be used outside of Xmeter. If considering otherwise, I suggest using an alternate reset stylesheet instead. There are many similar third-party projects, such as:
resetcss is great, but it's too simple to be a standalone project. Since it is a dependency on Xmeter, may as well import the code directly into the project. Here's how it would work:
in xmeter.less, keep the already-present @import (inline) url('node_modules/normalize.css/normalize.css');, as is, after the import of reset.css. This is because the normalize styles should apply after the reset styles.
when compiled, xmeter.css will have the following components:
the inline content of reset.css
the inline content of normalize.css
the inline content of each compiled partial of Xmeter (see /build/ directory)
OPTION:reset.less is syntactically valid CSS. Is it worth it to keep the less file and necessarily compile in the build process? Or should the source code be plain old CSS?
The text was updated successfully, but these errors were encountered:
My own resetcss will probably never be used outside of Xmeter. If considering otherwise, I suggest using an alternate reset stylesheet instead. There are many similar third-party projects, such as:
resetcss is great, but it's too simple to be a standalone project. Since it is a dependency on Xmeter, may as well import the code directly into the project. Here's how it would work:
copy-paste
reset.less
into this projectchange in
package.json
:change in
xmeter.less
:in
xmeter.less
, keep the already-present@import (inline) url('node_modules/normalize.css/normalize.css');
, as is, after the import ofreset.css
. This is because the normalize styles should apply after the reset styles.when compiled,
xmeter.css
will have the following components:reset.css
normalize.css
/build/
directory)OPTION:
reset.less
is syntactically valid CSS. Is it worth it to keep the less file and necessarily compile in the build process? Or should the source code be plain old CSS?The text was updated successfully, but these errors were encountered: