Sha256: 507ad13063727b194b7082e72ed307a1911dfda184a4bb4c0ce3abad72ddf038

Contents?: true

Size: 1.78 KB

Versions: 4

Compression:

Stored size: 1.78 KB

Contents

// Border-radius helps to make it easier to round the corners of your HTML elements
// Sample Usage:
// #container
//   +border-radius("5px")

// All corners
=border-radius(!radius)
  border-radius = !radius
  -moz-border-radius = !radius
  -webkit-border-radius = !radius

// Top Right
=border-radius-top-right(!radius)
  +border-radius-top-right(!radius)
// Bottom Right
=border-radius-bottom-right(!radius)
  +border-radius-bottom-right(!radius)
// Bottom Left
=border-radius-bottom-left(!radius)
  +border-radius-bottom-left(!radius)
// Top Left
=border-radius-top-left(!radius)
  +border-radius-top-left(!radius)
// Top
=border-radius-top(!radius)
  +border-radius-top-left(!radius)
  +border-radius-top-right(!radius)
// Right
=border-radius-right(!radius)
  +border-radius-top-right(!radius)
  +border-radius-bottom-right(!radius)
// Bottom
=border-radius-bottom(!radius)
  +border-radius-bottom-right(!radius)
  +border-radius-bottom-left(!radius)
// Left
=border-radius-left(!radius)
  +border-radius-top-left(!radius)
  +border-radius-bottom-left(!radius)

// Let's setup the rules so we don't have to repeat ourselves
// These are mixins for this mixin and are re-used above
=border-radius-top-right(!radius)
  border-top-right-radius = !radius
  -moz-border-radius-topright = !radius
  -webkit-border-top-right-radius = !radius

=border-radius-bottom-right(!radius)
  border-bottom-right-radius = !radius
  -moz-border-radius-bottomright = !radius
  -webkit-border-bottom-right-radius = !radius

=border-radius-bottom-left(!radius)
  border-bottom-left-radius = !radius
  -moz-border-radius-bottomleft = !radius
  -webkit-border-bottom-left-radius = !radius

=border-radius-top-left(!radius)
  border-top-left-radius = !radius
  -moz-border-radius-topleft = !radius
  -webkit-border-top-left-radius = !radius

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
elia-2.4.2.pre lib/sass_support/_border_radius.sass
elia-2.4.1 lib/sass_support/_border_radius.sass
elia-2.3.2 lib/sass_support/_border_radius.sass
elia-1.2.0 lib/sass_support/_border_radius.sass