Skip to content

Instantly share code, notes, and snippets.

@ahmedelgabri
Created March 10, 2015 18:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahmedelgabri/e81c61dd93815b1950b1 to your computer and use it in GitHub Desktop.
Save ahmedelgabri/e81c61dd93815b1950b1 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<p>Lorem <a href="#">ipsum dolor</a> sit amet</p>
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
@mixin all-initial {
$properties: animation, animation-delay, animation-direction, animation-duration, animation-fill-mode, animation-iteration-count, animation-name, animation-play-state, animation-timing-function, backface-visibility, background, background-attachment, background-clip, background-color, background-image, background-origin, background-position, background-position-x, background-position-y, background-repeat, background-size, border, border-style, border-width, border-color, border-bottom, border-bottom-color, border-bottom-left-radius, border-bottom-right-radius, border-bottom-style, border-bottom-width, border-collapse, border-image, border-left, border-left-color, border-left-style, border-left-width, border-radius, border-right, border-right-color, border-right-style, border-right-width, border-spacing, border-top, border-top-color, border-top-left-radius, border-top-right-radius, border-top-style, border-top-width, bottom, box-shadow, box-sizing, caption-side, clear, clip, color, columns, column-count, column-fill, column-gap, column-rule, column-rule-color, column-rule-style, column-rule-width, column-span, column-width, content, counter-increment, counter-reset, cursor, direction, display, empty-cells, float, font, font-family, font-size, font-style, font-variant, font-weight, height, hyphens, left, letter-spacing, line-height, list-style, list-style-image, list-style-position, list-style-type, margin, margin-bottom, margin-left, margin-right, margin-top, max-height, max-width, min-height, min-width, opacity, orphans, outline, outline-color, outline-style, outline-width, overflow, overflow-x, overflow-y, padding, padding-bottom, padding-left, padding-right, padding-top, page-break-after, page-break-before, page-break-inside, perspective, perspective-origin, position, quotes, right, tab-size, table-layout, text-align, text-align-last, text-decoration, text-decoration-color, text-decoration-line, text-decoration-style, text-indent, text-shadow, text-transform, top, transform, transform-style, transition, transition-delay, transition-duration, transition-property, transition-timing-function, unicode-bidi, vertical-align, visibility, white-space, widows, width, word-spacing, z-index;
@each $property in $properties {
#{$property}: initial;
}
}
%all-initial {
@include all-initial();
}
.widget {
@include all-initial();
}
.widget {
animation: initial;
animation-delay: initial;
animation-direction: initial;
animation-duration: initial;
animation-fill-mode: initial;
animation-iteration-count: initial;
animation-name: initial;
animation-play-state: initial;
animation-timing-function: initial;
backface-visibility: initial;
background: initial;
background-attachment: initial;
background-clip: initial;
background-color: initial;
background-image: initial;
background-origin: initial;
background-position: initial;
background-position-x: initial;
background-position-y: initial;
background-repeat: initial;
background-size: initial;
border: initial;
border-style: initial;
border-width: initial;
border-color: initial;
border-bottom: initial;
border-bottom-color: initial;
border-bottom-left-radius: initial;
border-bottom-right-radius: initial;
border-bottom-style: initial;
border-bottom-width: initial;
border-collapse: initial;
border-image: initial;
border-left: initial;
border-left-color: initial;
border-left-style: initial;
border-left-width: initial;
border-radius: initial;
border-right: initial;
border-right-color: initial;
border-right-style: initial;
border-right-width: initial;
border-spacing: initial;
border-top: initial;
border-top-color: initial;
border-top-left-radius: initial;
border-top-right-radius: initial;
border-top-style: initial;
border-top-width: initial;
bottom: initial;
box-shadow: initial;
box-sizing: initial;
caption-side: initial;
clear: initial;
clip: initial;
color: initial;
columns: initial;
column-count: initial;
column-fill: initial;
column-gap: initial;
column-rule: initial;
column-rule-color: initial;
column-rule-style: initial;
column-rule-width: initial;
column-span: initial;
column-width: initial;
content: initial;
counter-increment: initial;
counter-reset: initial;
cursor: initial;
direction: initial;
display: initial;
empty-cells: initial;
float: initial;
font: initial;
font-family: initial;
font-size: initial;
font-style: initial;
font-variant: initial;
font-weight: initial;
height: initial;
hyphens: initial;
left: initial;
letter-spacing: initial;
line-height: initial;
list-style: initial;
list-style-image: initial;
list-style-position: initial;
list-style-type: initial;
margin: initial;
margin-bottom: initial;
margin-left: initial;
margin-right: initial;
margin-top: initial;
max-height: initial;
max-width: initial;
min-height: initial;
min-width: initial;
opacity: initial;
orphans: initial;
outline: initial;
outline-color: initial;
outline-style: initial;
outline-width: initial;
overflow: initial;
overflow-x: initial;
overflow-y: initial;
padding: initial;
padding-bottom: initial;
padding-left: initial;
padding-right: initial;
padding-top: initial;
page-break-after: initial;
page-break-before: initial;
page-break-inside: initial;
perspective: initial;
perspective-origin: initial;
position: initial;
quotes: initial;
right: initial;
tab-size: initial;
table-layout: initial;
text-align: initial;
text-align-last: initial;
text-decoration: initial;
text-decoration-color: initial;
text-decoration-line: initial;
text-decoration-style: initial;
text-indent: initial;
text-shadow: initial;
text-transform: initial;
top: initial;
transform: initial;
transform-style: initial;
transition: initial;
transition-delay: initial;
transition-duration: initial;
transition-property: initial;
transition-timing-function: initial;
unicode-bidi: initial;
vertical-align: initial;
visibility: initial;
white-space: initial;
widows: initial;
width: initial;
word-spacing: initial;
z-index: initial;
}
<p>Lorem <a href="#">ipsum dolor</a> sit amet</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment