Skip to content
This repository was archived by the owner on Feb 21, 2023. It is now read-only.

betsu/cssRemPercent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

cssRemPercent

fork from https://github.com/flashlizi/cssrem/

####增加

  • % 轉換
  • 動態修改 rem root 值和 % 轉換的父層寬度

####安裝

  1. 安裝前請先關閉 sublime text
  2. 進入目錄 C:\Users[電腦的user名稱]\AppData\Roaming\Sublime Text 3\Installed Packages
  3. 開啟壓縮檔 cssrem.sublime-package
  4. 將 cssrem.py 丟進去覆蓋
  5. 啟動 sublime text
  6. 增加command呼叫
  • Preferences > Key Bindings - User
  • 增加
  {
      "keys": ["ctrl+alt+w"],
       "command": "root_width"
  },
  {
      "keys": ["ctrl+alt+r"],
       "command": "root_rem"
  }

####使用方法

  • ctrl+alt+w:修改 % 轉換父層寬度
  • ctrl+alt+r:修改 rem root 值

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages