Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

isKeyframeRule.js 272B

12345678910111213
  1. 'use strict';
  2. /**
  3. * Check if a rule is a keyframe one
  4. *
  5. * @param {import('postcss').Rule} rule
  6. * @returns {boolean}
  7. */
  8. module.exports = function (rule) {
  9. const parent = rule.parent;
  10. return parent.type === 'atrule' && parent.name.toLowerCase() === 'keyframes';
  11. };