Skip to content

Commit 59a44e6

Browse files
authored
updated the requested changes
1 parent 80e5129 commit 59a44e6

File tree

2 files changed

+2
-28
lines changed

2 files changed

+2
-28
lines changed

.github/workflows/auto-sync.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

snippets/scss/typography/px-to-rem-helper.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
title: PX to REM Helper
33
description: This function will convert px values to rem values.
44
author: gihanrangana
5-
tags: sass,function,pixel,rem,px-to-rem,css
5+
tags: function,pixel,rem,px-to-rem
66
---
77

88
```scss
99
@function px-to-rem($px, $base: 16px) {
1010
@return ($px / $base) * 1rem;
1111
}
1212

13-
// Usage
13+
// Usage:
1414
div {
1515
font-size: px-to-rem(12px); // Output: 0.75rem
1616
padding: px-to-rem(16px); // Output: 1rem

0 commit comments

Comments
 (0)