Get Margins
Gets the margins between an inner and outer layer and then copies the results to the clipboard as CSS.
v1.0.0 is compatible with Sketch 0.0.0
- README
- Shortcuts
- Insights
- Releases 0
- Activity
Get Margins Sketch Plugin
A Sketch plugin to get the margins between an inner and outer layer and then copies the results to the clipboard as CSS.
Install
You can start using the Get Margins plugin in one of two ways:
- In Sketch Toolbox, search for 'Get Margins' and tap Install.
- Download or clone the repository and open
get-margins.sketchplugin
.
Usage
- Select two layers, where one is layer is surrounded by the other.
- Select
Margins > Get Margins
from the Plugins menu or press⌘ ⇪ m
to copy the margins between the inner and outer layers. - Paste the margin CSS (e.g.,
margin: 10px 15px 12px 10px;
) where ever you need it.
License
MIT
Join the discussion
Download v1.0.0
Usage Activity
No Sketchpacks Relay integration found
Stats
- 67 downloads all–time
- 1 downloads this week
- 2 downloads this month
About this plugin
peterwooley published this plugin 3y ago.
v1.0.0 is the latest version.
Native updates are supported within Sketch.app.