File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 266266 }
267267}
268268
269- // hardware-acceleration
270- // @param $value: Accepted values: [ON | off]
271- @mixin hardware-acceleration ($value : on) {
272- @if $value == on {
273- transform : translate3d (0 , 0 , 0 );
274- backface-visibility : hidden ;
275- perspective : 1000 ;
276- }
277-
278- @else {
279- transform : none ;
280- backface-visibility : visible ;
281- perspective : none ;
282- }
283- }
284-
285- // hardware-acceleration
286- // @param $value: Accepted values: [on | OFF]
287- @mixin interaction ($value : off) {
288- @if $value == off {
289- cursor : default ;
290- user-select : none ;
291- pointer-events : none ;
292- }
293-
294- @else {
295- cursor : auto ;
296- user-select : all ;
297- pointer-events : all ;
298- }
299- }
300-
301269// strip-units
302270// @param $number
303271// @see http://stackoverflow.com/a/12335841
You can’t perform that action at this time.
0 commit comments