Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
14
Frontend-Learner/node_modules/postcss-merge-longhand/src/lib/insertCloned.js
generated
vendored
Normal file
14
Frontend-Learner/node_modules/postcss-merge-longhand/src/lib/insertCloned.js
generated
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
'use strict';
|
||||
/**
|
||||
* @param {import('postcss').Rule} rule
|
||||
* @param {import('postcss').Declaration} decl
|
||||
* @param {Partial<import('postcss').DeclarationProps>=} props
|
||||
* @return {import('postcss').Declaration}
|
||||
*/
|
||||
module.exports = function insertCloned(rule, decl, props) {
|
||||
const newNode = Object.assign(decl.clone(), props);
|
||||
|
||||
rule.insertAfter(decl, newNode);
|
||||
|
||||
return newNode;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue