No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

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.


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.


  1. Select two layers, where one is layer is surrounded by the other.
  2. Select Margins > Get Margins from the Plugins menu or press ⌘ ⇪ m to copy the margins between the inner and outer layers.
  3. Paste the margin CSS (e.g., margin: 10px 15px 12px 10px;) where ever you need it.