diff --git a/_config.local.yml b/_config.local.yml
index fc734fb5..a3bdf97d 100644
--- a/_config.local.yml
+++ b/_config.local.yml
@@ -5,3 +5,8 @@ url: http://localhost:4000
markdown: kramdown
permalink: pretty
exclude: ['node_modules']
+page_gen:
+ - data: properties
+ template: single
+ name: title
+ dir: property
diff --git a/_config.yml b/_config.yml
index 485ea339..0ff99dde 100644
--- a/_config.yml
+++ b/_config.yml
@@ -5,3 +5,8 @@ url: http://cssreference.io
markdown: kramdown
permalink: pretty
exclude: ['node_modules']
+page_gen:
+ - data: properties
+ template: single
+ name: title
+ dir: property
diff --git a/_data/properties.yml b/_data/properties.yml
new file mode 100644
index 00000000..655f2275
--- /dev/null
+++ b/_data/properties.yml
@@ -0,0 +1,5391 @@
+---
+- title: align-content
+ is_shorthand: false
+ description: "
Defines how each line is aligned within a flexbox container. It
+ only applies if flex-wrap: wrap
is present, and if there are multiple
+ lines of flexbox items.
"
+ styles:
+ - ".align-content { background: hsl(0, 0%, 95%);display: flex;flex-wrap: wrap;height:
+ 300px;padding: 0; }"
+ - '.align-content .square { height: 46px;margin: 2px;width: 30%; }.align-content
+ .square:nth-child(2) { height: 96px; }.align-content .box { height: 150px;left:
+ 0;position: absolute;right: 0;top: 0; }.align-content .box.is-red:before { content:
+ "First line"; }.align-content .box.is-green { top: 150px; }.align-content .box.is-green:before
+ { content: "Second line"; }'
+ - "#align-content-stretch{ align-content:stretch;}"
+ - "#align-content-flex-start{ align-content:flex-start;}"
+ - "#align-content-flex-start .box.is-red { height: 100px; }#align-content-flex-start
+ .box.is-green { height: 50px;top: 100px; }"
+ - "#align-content-flex-end{ align-content:flex-end;}"
+ - "#align-content-flex-end .box.is-red { height: 100px;top: 150px; }#align-content-flex-end
+ .box.is-green { height: 50px;top: 250px; }"
+ - "#align-content-center{ align-content:center;}"
+ - "#align-content-center .box.is-red { height: 100px;top: 75px; }#align-content-center
+ .box.is-green { height: 50px;top: 175px; }"
+ - "#align-content-space-between{ align-content:space-between;}"
+ - "#align-content-space-between .box.is-red { height: 100px;top: 0; }#align-content-space-between
+ .box.is-green { height: 50px;top: 250px; }"
+ - "#align-content-space-around{ align-content:space-around;}"
+ - "#align-content-space-around .box.is-red { height: 100px;top: 38px; }#align-content-space-around
+ .box.is-green { height: 50px;top: 213px; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'align-content: stretch;'
+ description: "Each line will stretch to fill the remaining space.
+ In this case, the container is 300px
high. All boxes are 50px
+ high, apart from the second one who is 100px
high.
"
+ output:
+ - is_default: false
+ title: 'align-content: flex-start;'
+ description: "Each line will only fill the space it needs . They will
+ all move towards the start of the flexbox container's cross
+ axis.
"
+ output:
+ - is_default: false
+ title: 'align-content: flex-end;'
+ description: "Each line will only fill the space it needs . They will
+ all move towards the end of the flexbox container's cross axis.
"
+ output:
+ - is_default: false
+ title: 'align-content: center;'
+ description: "Each line will only fill the space it needs . They will
+ all move towards the center of the flexbox container's cross
+ axis.
"
+ output:
+ - is_default: false
+ title: 'align-content: space-between;'
+ description: "Each line will only fill the space it needs . The remaining
+ space will appear between the lines.
"
+ output:
+ - is_default: false
+ title: 'align-content: space-around;'
+ description: "Each line will only fill the space it needs . The remaining
+ space will be distributed equally around the lines: before
+ the first line, between the two, and after the last one.
"
+ output:
+- title: align-items
+ is_shorthand: false
+ description: "Defines how flexbox items are aligned according to the cross
+ axis, within a line of a flexbox container.
"
+ styles:
+ - ".align-items { background: hsl(0, 0%, 95%);display: flex;height: 200px;justify-content:
+ center;padding: 0; }"
+ - ".align-items .square { height: 50px;margin: 0 2px;width: calc(20% - 4px); }.align-items
+ .square:nth-child(2) { height: 100px; }.align-items .square:nth-child(4) { height:
+ 75px; }.align-items .line { left: 2px;position: absolute;right: 2px; }"
+ - "#align-items-flex-start{ align-items:flex-start;}"
+ - "#align-items-flex-start .line { top: 0; }"
+ - "#align-items-flex-end{ align-items:flex-end;}"
+ - "#align-items-flex-end .line { bottom: 0; }"
+ - "#align-items-center{ align-items:center;}"
+ - "#align-items-center .line { top: 50%; }"
+ - "#align-items-baseline{ align-items:baseline;}"
+ - "#align-items-baseline .line { top: 55px; }"
+ - "#align-items-stretch{ align-items:stretch;}"
+ - "#align-items-stretch .square { height: auto; }#align-items-stretch .square:nth-child(2)
+ { height: auto; }#align-items-stretch .square:nth-child(4) { height: auto; }#align-items-stretch
+ .line { display: none; }"
+ actions: []
+ examples:
+ - is_default: false
+ title: 'align-items: flex-start;'
+ description: "The flexbox items are aligned at the start of
+ the cross axis .
By default, the cross axis is vertical.
+ This means the flexbox items will be aligned vertically at the top .
"
+ output:
+ - is_default: false
+ title: 'align-items: flex-end;'
+ description: "The flexbox items are aligned at the end of
+ the cross axis .
By default, the cross axis is vertical.
+ This means the flexbox items will be aligned vertically at the _bottom.
"
+ output:
+ - is_default: false
+ title: 'align-items: center;'
+ description: "The flexbox items are aligned at the center
+ of the cross axis .
By default, the cross axis is vertical.
+ This means the flexbox items will be centered vertically .
"
+ output:
+ - is_default: false
+ title: 'align-items: baseline;'
+ description: "The flexbox items are aligned at the baseline
+ of the cross axis .
By default, the cross axis is vertical.
+ This means the flexbox items will align themselves in order to have the baseline
+ of their text align along a horizontal line.
"
+ output:
+ - is_default: false
+ title: 'align-items: stretch;'
+ description: "The flexbox items will stretch across the whole cross
+ axis .
By default, the cross axis is vertical. This means the
+ flexbox items will fill up the whole vertical space.
"
+ output:
+- title: align-self
+ is_shorthand: false
+ description: "Works like align-items
, but applies only to a single
+ flexbox item, instead of all of them.
"
+ styles:
+ - ".align-self { align-items: center;background: hsl(0, 0%, 95%);display: flex;height:
+ 200px;justify-content: center;padding: 0; }"
+ - '.align-self .square { height: 50px;margin: 0 2px;width: calc(20% - 4px); }.align-self
+ .square:nth-child(2) { background: #05ffb0;color: #310736; }.align-self .square:nth-child(4)
+ { height: 75px; }.align-self .line { left: 2px;position: absolute;right: 2px;
+ }.align-self .line.is-default { top: 50%; }.align-self .line.is-default:before
+ { content: "Items"; }.align-self .line.is-red:before { content: "Self"; }'
+ - "#align-self-flex-start{ align-self:flex-start;}"
+ - "#align-self-flex-start .target { align-self: flex-start; }"
+ - "#align-self-flex-end{ align-self:flex-end;}"
+ - "#align-self-flex-end .line.is-red { bottom: 0; }#align-self-flex-end .target
+ { align-self: flex-end; }"
+ - "#align-self-center{ align-self:center;}"
+ - "#align-self-center{ align-items: flex-start; }"
+ - "#align-self-center .line.is-default { top: 0; }#align-self-center .line.is-red
+ { top: 50%; }#align-self-center .target { align-self: center; }"
+ - "#align-self-baseline{ align-self:baseline;}"
+ - "#align-self-baseline .line.is-default { top: 50%; }#align-self-baseline .line.is-red
+ { top: 30px; }#align-self-baseline .target { align-self: baseline; }"
+ - "#align-self-stretch{ align-self:stretch;}"
+ - "#align-self-stretch .line.is-default { top: 50%; }#align-self-stretch .line.is-red
+ { display: none; }#align-self-stretch .target { align-self: stretch;height: auto;
+ }"
+ actions: []
+ examples:
+ - is_default: false
+ title: 'align-self: flex-start;'
+ description: "If the container has align-items: center
and the
+ target has align-items: flex-start
, only the target
+ will be at the start of the cross axis.
By default, this means it will
+ be aligned vertically at the top .
"
+ output:
+ - is_default: false
+ title: 'align-self: flex-end;'
+ description: "If the container has align-items: center
and the
+ target has align-items: flex-end
, only the target
+ will be at the end of the cross axis.
By default, this means it will
+ be aligned vertically at the bottom .
"
+ output:
+ - is_default: false
+ title: 'align-self: center;'
+ description: "If the container has align-items: flex-start
and
+ the target has align-items: center
, only the target
+ will be at the center of the cross axis.
By default, this means it will
+ be vertically centered .
"
+ output:
+ - is_default: false
+ title: 'align-self: baseline;'
+ description: "If the container has align-items: center
and the
+ target has align-items: baseline
, only the target
+ will be at the baseline of the cross axis.
By default, this means it
+ will be aligned along the basline of the text.
"
+ output:
+ - is_default: false
+ title: 'align-self: stretch;'
+ description: "If the container has align-items: center
and the
+ target has align-items: stretch
, only the target
+ will stretch along the whole cross axis.
"
+ output:
+- title: animation-delay
+ is_shorthand: false
+ description: "Defines how long the animation has to wait before starting .
+ The animation will only be delayed on its first iteration.
"
+ styles:
+ - ".animation-delay { animation-duration: 5s;animation-iteration-count: infinite;
+ }"
+ - ".animation-delay.is-animated { animation-name: fadeAndMove; }"
+ - "#animation-delay-0s{ animation-delay:0s;}"
+ - "#animation-delay-12s{ animation-delay:1.2s;}"
+ - "#animation-delay-2400ms{ animation-delay:2400ms;}"
+ - "#animation-delay--500ms{ animation-delay:-500ms;}"
+ actions:
+ -
+ examples:
+ - is_default: true
+ title: 'animation-delay: 0s;'
+ description: "The animation will wait zero seconds , and thus
+ start right away.
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-delay: 1.2s;'
+ description: "You can use decimal values in seconds
+ with the keyword s
.
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-delay: 2400ms;'
+ description: "You can use milliseconds instead of seconds,
+ with the keyword ms
.
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-delay: -500ms;'
+ description: "You can use negative values : the animation will
+ start as if it had already been playing for 500ms
.
"
+ output: Hello World
+- title: animation-direction
+ is_shorthand: false
+ description: "Defines in which direction the animation is played.
"
+ styles:
+ - ".animation-direction { animation-duration: 2s;animation-iteration-count: infinite;
+ }"
+ - ".animation-direction.is-animated { animation-name: fadeAndMove; }"
+ - "#animation-direction-normal{ animation-direction:normal;}"
+ - "#animation-direction-reverse{ animation-direction:reverse;}"
+ - "#animation-direction-alternate{ animation-direction:alternate;}"
+ - "#animation-direction-alternate-reverse{ animation-direction:alternate-reverse;}"
+ actions:
+ -
+ examples:
+ - is_default: true
+ title: 'animation-direction: normal;'
+ description: "The animation is played forwards . When it reaches
+ the end, it starts over at the first keyframe.
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-direction: reverse;'
+ description: "The animation is played backwards : begins at
+ the last keyframe, finishes at the first keyframe.
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-direction: alternate;'
+ description: "The animation is played forwards first, then
+ backwards :
starts at the first keyframe stops
+ at the last keyframe starts again, but at the last keyframe stops
+ at the first keyframe "
+ output: Hello World
+ - is_default: false
+ title: 'animation-direction: alternate-reverse;'
+ description: "The animation is played backwards first, then
+ forwards :
starts at the last keyframe stops
+ at the first keyframe starts again, but at the first keyframe stops
+ at the last keyframe "
+ output: Hello World
+- title: animation-duration
+ is_shorthand: false
+ description: "Defines how long the animation lasts.
"
+ styles:
+ - ".animation-duration { animation-iteration-count: infinite; }"
+ - ".animation-duration.is-animated { animation-name: fadeAndMove; }"
+ - "#animation-duration-0s{ animation-duration:0s;}"
+ - "#animation-duration-12s{ animation-duration:1.2s;}"
+ - "#animation-duration-2400ms{ animation-duration:2400ms;}"
+ actions:
+ -
+ examples:
+ - is_default: true
+ title: 'animation-duration: 0s;'
+ description: "The default value is zero seconds : the animation
+ will simply not play.
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-duration: 1.2s;'
+ description: "You can use decimal values in seconds
+ with the keyword s
.
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-duration: 2400ms;'
+ description: "You can use milliseconds instead of seconds,
+ with the keyword ms
.
"
+ output: Hello World
+- title: animation-fill-mode
+ is_shorthand: false
+ description: "Defines what happens before an animation starts
+ and after it ends. The fill mode allows to tell the browser if
+ the animation’s styles should also be applied outside of the animation.
"
+ styles:
+ - ".animation-fill-mode { animation-delay: 1s;animation-duration: 2s;animation-iteration-count:
+ 1;animation-name: kf-animation-fill-mode;animation-play-state: paused; }"
+ - ".animation-fill-mode.is-animated { animation-play-state: running; }"
+ - "#animation-fill-mode-none{ animation-fill-mode:none;}"
+ - "#animation-fill-mode-forwards{ animation-fill-mode:forwards;}"
+ - "#animation-fill-mode-backwards{ animation-fill-mode:backwards;}"
+ - "#animation-fill-mode-both{ animation-fill-mode:both;}"
+ actions:
+ -
+ examples:
+ - is_default: true
+ title: 'animation-fill-mode: none;'
+ description: "The animation styles do not affect the default
+ style: the element is set to its default state before the animation starts,
+ and returns to that default state after the animation ends.
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-fill-mode: forwards;'
+ description: "The last styles applied at the end of the animation are retained
+ afterwards .
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-fill-mode: backwards;'
+ description: "The animation's styles will already be applied before
+ the animation actually starts.
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-fill-mode: both;'
+ description: "The styles are applied before and after the
+ animation plays.
"
+ output: Hello World
+- title: animation-iteration-count
+ is_shorthand: false
+ description: "Defines how many times the animation is played.
"
+ styles:
+ - ".animation-iteration-count { animation-duration: 2s; }"
+ - ".animation-iteration-count.is-animated { animation-name: fadeAndMove; }"
+ - "#animation-iteration-count-1{ animation-iteration-count:1;}"
+ - "#animation-iteration-count-2{ animation-iteration-count:2;}"
+ - "#animation-iteration-count-infinite{ animation-iteration-count:infinite;}"
+ actions:
+ -
+ examples:
+ - is_default: true
+ title: 'animation-iteration-count: 1;'
+ description: "The animation will only play once .
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-iteration-count: 2;'
+ description: "You can use integer values to define a specific
+ amount of times the animation will play.
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-iteration-count: infinite;'
+ description: "By using the keyword infinite
, the animation will
+ play indefinitely.
"
+ output: Hello World
+- title: animation-name
+ is_shorthand: false
+ description: "Defines which animation keyframes to use.
"
+ styles:
+ - ".animation-name { animation-iteration-count: infinite; }"
+ - ".animation-name.is-animated { animation-duration: 2s; }"
+ - "#animation-name-none{ animation-name:none;}"
+ - "#animation-name-fadein{ animation-name:fadeIn;}"
+ - "#animation-name-moveright{ animation-name:moveRight;}"
+ actions:
+ -
+ examples:
+ - is_default: true
+ title: 'animation-name: none;'
+ description: "If no animation name is specified, no animation is played.
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-name: fadeIn;'
+ description: "If a name is specified, the keyframes matching
+ that name will be used.
For example, the fadeIn
animation
+ looks like this:
@keyframes fadeIn { from { opacity: 0; } to
+ { opacity: 1; } }
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-name: moveRight;'
+ description: "Another example: the moveRight
animation:
@keyframes
+ moveRight { from { transform: translateX(0); } to { transform: translateX(100px);
+ } }
"
+ output: Hello World
+- title: animation-play-state
+ is_shorthand: false
+ description: "Defines if an animation is playing or not.
"
+ styles:
+ - ".animation-play-state { animation-duration: 2s;animation-iteration-count: infinite;
+ }"
+ - ".animation-play-state.is-animated { animation-name: fadeAndMove; }"
+ - "#animation-play-state-running{ animation-play-state:running;}"
+ - "#animation-play-state-paused{ animation-play-state:paused;}"
+ actions:
+ -
+ examples:
+ - is_default: true
+ title: 'animation-play-state: running;'
+ description: "If the animation-duration
and animation-name
+ are defined, the animation will start playing automatically.
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-play-state: paused;'
+ description: 'The animation is set paused at the first keyframe .
+ This is different than having either no animation-duration
or
+ animation-name
at all. If the animation is paused, the style applied
+ is that of the first keyframe, and not the default
+ style.
In this example, the square is visible by default, but the on
+ the first keyframe of fadeAndMove
, the opacity
is
+ set to 0
. When paused, the animation will be "stuck" on this first
+ keyframe, and will thus be invisible.
@keyframes fadeAndMove
+ { from { opacity: 0; transform: translateX(0); } to { opacity: 0; transform:
+ translateX(100px); } }
'
+ output: Hello World
+- title: animation-timing-function
+ is_shorthand: false
+ description: "Defines how the values between the start and the end
+ of the animation are calculated.
"
+ styles:
+ - ".animation-timing-function { animation-duration: 3s;animation-fill-mode: forwards;
+ }"
+ - ".animation-timing-function.is-animated { animation-name: moveRight; }"
+ - "#animation-timing-function-ease{ animation-timing-function:ease;}"
+ - "#animation-timing-function-ease-in{ animation-timing-function:ease-in;}"
+ - "#animation-timing-function-ease-out{ animation-timing-function:ease-out;}"
+ - "#animation-timing-function-ease-in-out{ animation-timing-function:ease-in-out;}"
+ - "#animation-timing-function-linear{ animation-timing-function:linear;}"
+ - "#animation-timing-function-step-start{ animation-timing-function:step-start;}"
+ - "#animation-timing-function-step-end{ animation-timing-function:step-end;}"
+ - "#animation-timing-function-steps4-end{ animation-timing-function:steps(4, end);}"
+ actions:
+ -
+ examples:
+ - is_default: true
+ title: 'animation-timing-function: ease;'
+ description: "The animation starts slowly, accelerates in the middle, and slows
+ down at the end.
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-timing-function: ease-in;'
+ description: "The animation starts slowly, and accelerates gradually until
+ the end.
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-timing-function: ease-out;'
+ description: "The animation starts quickly, and decelerates gradually until
+ the end.
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-timing-function: ease-in-out;'
+ description: "Like ease
, but more pronounced.
The animation
+ starts quickly, and decelerates gradually until the end.
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-timing-function: linear;'
+ description: "The animation has a *constant speed .
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-timing-function: step-start;'
+ description: "The animation jumps instantly to the final state .
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-timing-function: step-end;'
+ description: "The animation stays at the initial state until
+ the end, when it instantly jumps to the final state .
"
+ output: Hello World
+ - is_default: false
+ title: 'animation-timing-function: steps(4, end);'
+ description: "By using steps()
with an integer ,
+ you can define a specific number of steps before reaching the end.
+ The state of the element will not vary gradually, but rather jump
+ from state to state in separate instants.
"
+ output: Hello World
+- title: animation
+ is_shorthand: true
+ description: Shorthand property for animation-name
animation-duration
+ animation-timing-function
+ animation-delay
animation-iteration-count
+ animation-direction
animation-fill-mode
and animation-play-state
.
+ Only animation-duration
and animation-name
are required .
+ styles: []
+ actions: []
+ examples: []
+- title: background-attachment
+ is_shorthand: false
+ description: "Defines how the background image will behave when scrolling
+ the page.
"
+ styles:
+ - ".background-attachment { background-image: url(/images/landscape.jpg);background-position:
+ center center;background-size: cover;height: 200px; }"
+ - ".background-attachment p { background: white;padding: 0.8em 1em; }"
+ - "#background-attachment-scroll{ background-attachment:scroll;}"
+ - "#background-attachment-fixed{ background-attachment:fixed;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'background-attachment: scroll;'
+ description: "The background image will scroll with the page. It will also
+ position and resize itself according to the element it's applied to.
"
+ output:
+ - is_default: false
+ title: 'background-attachment: fixed;'
+ description: "The background image will not scroll with the page,
+ and remain positioned according to the viewport. It will also position and resize
+ itself according to the viewport. As a result, the background image will probably
+ only be partially visible.
"
+ output:
+- title: background-clip
+ is_shorthand: false
+ description: "Defines how far the background should extend within
+ the element.
"
+ styles:
+ - ".background-clip { background: #05ffb0;border: 4px dashed;padding: 2em; }"
+ - "#background-clip-border-box{ background-clip:border-box;}"
+ - "#background-clip-padding-box{ background-clip:padding-box;}"
+ - "#background-clip-content-box{ background-clip:content-box;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'background-clip: border-box;'
+ description: "The background extends completely throughout the element, even
+ under the border.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'background-clip: padding-box;'
+ description: "The background only extends to the edge of the border:
+ it includes the padding but not the border.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'background-clip: content-box;'
+ description: "The background only extends to the edge of the content :
+ it doesn't include the padding, nor the border.
"
+ output: Hello
+ world
+- title: background-color
+ is_shorthand: false
+ description: "Defines the color of the element's background.
"
+ styles:
+ - "#background-color-transparent{ background-color:transparent;}"
+ - "#background-color-red{ background-color:red;}"
+ - "#background-color-05ffb0{ background-color:#05ffb0;}"
+ - "#background-color-rgb50-115-220{ background-color:rgb(50, 115, 220);}"
+ - "#background-color-rgba50-115-220-03{ background-color:rgba(50, 115, 220, 0.3);}"
+ - "#background-color-hsl14-100-53{ background-color:hsl(14, 100%, 53%);}"
+ - "#background-color-hsla14-100-53-06{ background-color:hsla(14, 100%, 53%, 0.6);}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'background-color: transparent;'
+ description: "By default, the background color is transparent ,
+ basically meaning that there is no background color.
"
+ output: Hello
+ World
+ - is_default: false
+ title: 'background-color: red;'
+ description: You can use one of the 140+
+ color names .
+ output: Hello
+ World
+ - is_default: false
+ title: 'background-color: #05ffb0;'
+ description: "You can use hexadecimal color codes.
"
+ output: Hello
+ World
+ - is_default: false
+ title: 'background-color: rgb(50, 115, 220);'
+ description: "You can use rgb() color codes:
the
+ first value is for red
the second value is for green
the
+ third value is for blue
Each of them can have a value
+ between 0 and 255 .
"
+ output: Hello
+ World
+ - is_default: false
+ title: 'background-color: rgba(50, 115, 220, 0.3);'
+ description: "You can use rgba() color codes:
the
+ first 3 values are for rgb
the 4th value is for the alpha
+ channel and defines the opacity of the color The alpha value can
+ go from zero 0 (transparent) to one 1 (opaque).
"
+ output: Hello
+ World
+ - is_default: false
+ title: 'background-color: hsl(14, 100%, 53%);'
+ description: "You can use hsl() color codes:
the
+ first value is for hue
and can go from 0 to 359 the
+ second value is for saturation
and go from 0%
+ to 100% the third value is for luminosity
+ and go from 0% to 100% "
+ output: Hello
+ World
+ - is_default: false
+ title: 'background-color: hsla(14, 100%, 53%, 0.6);'
+ description: "You can use hsl()a color codes:
the
+ first 3 values are for hsl
the 4th value is for the alpha
+ channel and defines the opacity of the color The alpha value can
+ go from zero 0 (transparent) to one 1 (opaque).
"
+ output: Hello
+ World
+- title: background-image
+ is_shorthand: false
+ description: "Defines an image as the background of the element.
"
+ styles:
+ - ".background-image { background-repeat: no-repeat;height: 200px; }"
+ - "#background-image-none{ background-image:none;}"
+ - "#background-image-urlimagesjtpng{ background-image:url(/images/jt.png);}"
+ - "#background-image-urlimagesjtpng{ background-size: 64px 64px; }"
+ - "#background-image-linear-gradientred-blue{ background-image:linear-gradient(red,
+ blue);}"
+ - "#background-image-linear-gradient45deg-red-blue{ background-image:linear-gradient(45deg,
+ red, blue);}"
+ - "#background-image-radial-gradientgreen-purple{ background-image:radial-gradient(green,
+ purple);}"
+ - "#background-image-radial-gradientcircle-green-purple{ background-image:radial-gradient(circle,
+ green, purple);}"
+ - "#background-image-radial-gradientcircle-green-0-purple-20-orange-100{ background-image:radial-gradient(circle,
+ green 0%, purple 20%, orange 100%);}"
+ - "#background-image-radial-gradientcircle-closest-side-green-0-purple-20-orange-100{
+ background-image:radial-gradient(circle closest-side, green 0%, purple 20%, orange
+ 100%);}"
+ - "#background-image-radial-gradientcircle-closest-side-at-45px-45px-green-0-purple-20-orange-100{
+ background-image:radial-gradient(circle closest-side at 45px 45px, green 0%, purple
+ 20%, orange 100%);}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'background-image: none;'
+ description: "Removes any background image.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'background-image: url(/images/jt.png);'
+ description: "Uses the image defined in the url path. This
+ path can either be relative (to the css file) or absolute
+ (like http://cssreference.io/images/jt.png
).
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'background-image: linear-gradient(red, blue);'
+ description: "You can define a linear gradient as the background
+ image.
You need to define at least two colors . The first
+ one will start at the top, the second one at the bottom.
The default
+ angle is to bottom
(or 180deg
), which means the gradient
+ is vertical , starting at the top, ending at the bottom of the
+ element.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'background-image: linear-gradient(45deg, red, blue);'
+ description: "You can specify an angle , either in degrees ,
+ or with keywords.
When using degress, you specify the direction
+ of the gradient, or when it ends. So 0deg
means the the top
+ of the element, like 12:00 on a clock.
In this example, 45deg
+ means 2:30, or the top right corner.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'background-image: radial-gradient(green, purple);'
+ description: "You can define a radial gradient as the background
+ image.
You need to define at least two colors . The first
+ one will be at the center, the second one at the edges.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'background-image: radial-gradient(circle, green, purple);'
+ description: "You can specify the shape of the radial gradient:
+ circle or ellipse (default).
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'background-image: radial-gradient(circle, green 0%, purple 20%, orange
+ 100%);'
+ description: "You can specify color stops using percentage
+ values.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'background-image: radial-gradient(circle closest-side, green 0%, purple
+ 20%, orange 100%);'
+ description: "You can specify where the gradient should end :
+ closest-side
closest-corner
farthest-side
farthest-corner
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'background-image: radial-gradient(circle closest-side at 45px 45px, green
+ 0%, purple 20%, orange 100%);'
+ description: Like with the background-position
,
+ you can specify the position of the gradient.
+ output: Hello
+ world
+- title: background-origin
+ is_shorthand: false
+ description: "Defines the origin of the background image.
"
+ styles:
+ - ".background-origin { background-image: url(/images/jt.png);background-repeat:
+ no-repeat;background-size: 64px 64px;border: 4px dashed;padding: 2em; }"
+ - ".background-origin p { background-color: rgba(5, 255, 176, 0.5);padding: 1em;
+ }"
+ - "#background-origin-padding-box{ background-origin:padding-box;}"
+ - "#background-origin-border-box{ background-origin:border-box;}"
+ - "#background-origin-content-box{ background-origin:content-box;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'background-origin: padding-box;'
+ description: "The background image starts at the edge of the border:
+ within padding but not the border.
"
+ output:
+ - is_default: false
+ title: 'background-origin: border-box;'
+ description: "The background image starts under the border.
"
+ output:
+ - is_default: false
+ title: 'background-origin: content-box;'
+ description: "The background image only starts at the edge of the content :
+ it doesn't include the padding, nor the border.
"
+ output:
+- title: background-position
+ is_shorthand: false
+ description: "Defines the position of the background image.
"
+ styles:
+ - ".background-position { background-image: url(/images/jt.png);background-repeat:
+ no-repeat;background-size: 64px 64px;height: 150px; }"
+ - "#background-position-0-0{ background-position:0% 0%;}"
+ - "#background-position-bottom-right{ background-position:bottom right;}"
+ - "#background-position-center-center{ background-position:center center;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'background-position: 0% 0%;'
+ description: "The background image will be positioned at 0%
+ on the horizontal axis and 0% on the vertical axis, which means
+ the top left corner of the element.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'background-position: bottom right;'
+ description: "You can use a combination of position keywords :
+ center
, top
, bottom
, left
+ and right
.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'background-position: center center;'
+ description: "The background image will be positioned in the center of the
+ element.
"
+ output: Hello
+ world
+- title: background-repeat
+ is_shorthand: false
+ description: "Defines how the background image repeats itself across the element's
+ background, starting from the background position.
"
+ styles:
+ - ".background-repeat { background-image: url(/images/jt.png);background-size: 64px
+ 64px;height: 150px; }"
+ - "#background-repeat-repeat{ background-repeat:repeat;}"
+ - "#background-repeat-repeat-x{ background-repeat:repeat-x;}"
+ - "#background-repeat-repeat-y{ background-repeat:repeat-y;}"
+ - "#background-repeat-no-repeat{ background-repeat:no-repeat;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'background-repeat: repeat;'
+ description: "The background image will repeat itself both horizontally
+ and vertically .
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'background-repeat: repeat-x;'
+ description: "The background image will only repeat itself horizontally .
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'background-repeat: repeat-y;'
+ description: "The background image will only repeat itself vertically .
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'background-repeat: no-repeat;'
+ description: "The background image will only appear once .
"
+ output: Hello
+ world
+- title: background-size
+ is_shorthand: false
+ description: "Defines the size of the background image.
"
+ styles:
+ - ".background-size { background-image: url(/images/landscape.jpg);background-repeat:
+ no-repeat;height: 150px;padding: 0; }"
+ - "#background-size-auto-auto{ background-size:auto auto;}"
+ - "#background-size-120px-80px{ background-size:120px 80px;}"
+ - "#background-size-100-50{ background-size:100% 50%;}"
+ - "#background-size-contain{ background-size:contain;}"
+ - "#background-size-cover{ background-size:cover;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'background-size: auto auto;'
+ description: "The background image will retain its original
+ size.
For example, this background image is 960px by 640px
+ large. Its aspect ratio is 3 by 2 . It's bigger than its container
+ (which is 150px high) and will thus be clipped .
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'background-size: 120px 80px;'
+ description: "You can specify a size in pixels :
the
+ first value is the horizontal size the second is the
+ vertical size "
+ output: Hello
+ world
+ - is_default: false
+ title: 'background-size: 100% 50%;'
+ description: "You can use percentage values as well. Beware
+ that this can alter the aspect ratio of the background image,
+ and lead to unexpected results.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'background-size: contain;'
+ description: "The keyword contain
will resize the background image
+ to make sure it remains fully visible .
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'background-size: cover;'
+ description: "The keyword cover
will resize the background image
+ to make sure the element is fully covered .
"
+ output: Hello
+ world
+- title: background
+ is_shorthand: true
+ description: Shorthand property for background-image
background-position
+ background-size
background-repeat
+ background-origin
background-clip
+ background-attachment
and
+ background-color
.
+ styles: []
+ actions: []
+ examples: []
+- title: border-bottom-color
+ is_shorthand: false
+ description: Like border-color
,
+ but for the bottom border only.
+ styles:
+ - ".border-bottom-color { border-bottom-style: solid;border-bottom-width: 4px; }"
+ - "#border-bottom-color-transparent{ border-bottom-color:transparent;}"
+ - "#border-bottom-color-red{ border-bottom-color:red;}"
+ - "#border-bottom-color-05ffb0{ border-bottom-color:#05ffb0;}"
+ actions: []
+ examples:
+ - is_default: false
+ title: 'border-bottom-color: transparent;'
+ description: "Applies a transparent color to the bottom border.
+ The bottom border will still take up the space defined by the border-width
+ value.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-bottom-color: red;'
+ description: You can use one of the 140+
+ color names .
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-bottom-color: #05ffb0;'
+ description: "You can use hexadecimal color codes, rgb()
,
+ rgba()
, hsl()
, hsla()
...
"
+ output: Hello
+ world
+- title: border-bottom-left-radius
+ is_shorthand: false
+ description: "Defines the radius of the bottom left corner.
"
+ styles:
+ - ".border-bottom-left-radius { border-bottom-color: #05ffb0;border-left-color:
+ hsl(348, 100%, 61%);border-style: solid;border-width: 4px; }"
+ - "#border-bottom-left-radius-0{ border-bottom-left-radius:0;}"
+ - "#border-bottom-left-radius-20px{ border-bottom-left-radius:20px;}"
+ - "#border-bottom-left-radius-50{ border-bottom-left-radius:50%;}"
+ - "#border-bottom-left-radius-20px-50{ border-bottom-left-radius:20px 50%;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'border-bottom-left-radius: 0;'
+ description: "Removes any border radius.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-bottom-left-radius: 20px;'
+ description: "You can use pixel values.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-bottom-left-radius: 50%;'
+ description: "You can use percentage values. In this example,
+ the radius starts halfway on the bottom border, and ends halfway on
+ the left border.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-bottom-left-radius: 20px 50%;'
+ description: "If you set two values , the first one is for
+ the bottom border, the second one for the left border.
"
+ output: Hello
+ world
+- title: border-bottom-right-radius
+ is_shorthand: false
+ description: "Defines the radius of the bottom right corner.
"
+ styles:
+ - ".border-bottom-right-radius { border-bottom-color: #05ffb0;border-right-color:
+ hsl(348, 100%, 61%);border-style: solid;border-width: 4px; }"
+ - "#border-bottom-right-radius-0{ border-bottom-right-radius:0;}"
+ - "#border-bottom-right-radius-20px{ border-bottom-right-radius:20px;}"
+ - "#border-bottom-right-radius-50{ border-bottom-right-radius:50%;}"
+ - "#border-bottom-right-radius-20px-50{ border-bottom-right-radius:20px 50%;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'border-bottom-right-radius: 0;'
+ description: "Removes any border radius.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-bottom-right-radius: 20px;'
+ description: "You can use pixel values.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-bottom-right-radius: 50%;'
+ description: "You can use percentage values. In this example,
+ the radius starts halfway on the bottom border, and ends halfway on
+ the right border.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-bottom-right-radius: 20px 50%;'
+ description: "If you set two values , the first one is for
+ the bottom border, the second one for the right border.
"
+ output: Hello
+ world
+- title: border-bottom-style
+ is_shorthand: false
+ description: Like border-style
,
+ but for the bottom border only.
+ styles:
+ - ".border-bottom-style { border-bottom-width: 4px; }"
+ - "#border-bottom-style-none{ border-bottom-style:none;}"
+ - "#border-bottom-style-dotted{ border-bottom-style:dotted;}"
+ - "#border-bottom-style-dashed{ border-bottom-style:dashed;}"
+ - "#border-bottom-style-solid{ border-bottom-style:solid;}"
+ - "#border-bottom-style-double{ border-bottom-style:double;}"
+ - "#border-bottom-style-groove{ border-bottom-style:groove;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'border-bottom-style: none;'
+ description: "Removes the bottom border.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-bottom-style: dotted;'
+ description: "Turns the bottom border into a sequence of dots.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-bottom-style: dashed;'
+ description: "Turns the bottom border into a sequence of dashes.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-bottom-style: solid;'
+ description: "Turns the bottom border into a solid line.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-bottom-style: double;'
+ description: "Splits the bottom border into two lines.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-bottom-style: groove;'
+ description: "Sets an inset style to the bottom border.
"
+ output: Hello
+ world
+- title: border-bottom-width
+ is_shorthand: false
+ description: Like border-width
,
+ but for the bottom border only.
+ styles:
+ - ".border-bottom-width { border-bottom-style: solid; }"
+ - "#border-bottom-width-0{ border-bottom-width:0;}"
+ - "#border-bottom-width-4px{ border-bottom-width:4px;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'border-bottom-width: 0;'
+ description: "Removes the bottom border.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-bottom-width: 4px;'
+ description: "You can use pixel values.
"
+ output: Hello
+ world
+- title: border-bottom
+ is_shorthand: true
+ description: Shorthand property for border-bottom-width
border-bottom-style
and border-bottom-color
.
+ styles:
+ - "#border-bottom-4px-dotted-red{ border-bottom:4px dotted red;}"
+ - "#border-bottom-2px-solid{ border-bottom:2px solid;}"
+ actions: []
+ examples:
+ - is_default: false
+ title: 'border-bottom: 4px dotted red;'
+ description: "The order is important:
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-bottom: 2px solid;'
+ description: "Only the color is optional . If you
+ omit it, the color applied will be the color of the text .
"
+ output: Hello
+ world
+- title: border-collapse
+ is_shorthand: false
+ description: "Defines whether table borders should be separated
+ or collapsed.
"
+ styles:
+ - ".border-collapse table { width: 100%; }.border-collapse td { border-bottom: 4px
+ solid hsl(348, 100%, 61%);border-left: 4px solid #05ffb0;border-right: 4px solid
+ hsl(48, 100%, 67%);border-top: 4px solid hsl(217, 71%, 53%);padding: 0.4em 0.5em;
+ }"
+ - "#border-collapse-separate{ border-collapse:separate;}"
+ - "#border-collapse-separate table { border-collapse: separate; }"
+ - "#border-collapse-collapse{ border-collapse:collapse;}"
+ - "#border-collapse-collapse table { border-collapse: collapse; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'border-collapse: separate;'
+ description: "Each table cell will display its own borders.
+ In this example, each cell has a border-width
of 4px .
+ As a result, the border between two cells will be 8px .
"
+ output: Name Instrument John
+ Lennon Rhythm Guitar Paul McCartney Bass George
+ Harrison Lead Guitar Ringo Starr Drums
+ - is_default: false
+ title: 'border-collapse: collapse;'
+ description: 'Adjacent table cells will merge their borders
+ together.
The cell that appears first in the code will "win":
+ its borders will mask those of the following cells.
'
+ output: Name Instrument John
+ Lennon Rhythm Guitar Paul McCartney Bass George
+ Harrison Lead Guitar Ringo Starr Drums
+- title: border-color
+ is_shorthand: false
+ description: "Defines the color of the element's borders.
"
+ styles:
+ - ".border-color { border-style: solid;border-width: 4px; }"
+ - "#border-color-transparent{ border-color:transparent;}"
+ - "#border-color-red{ border-color:red;}"
+ - "#border-color-05ffb0{ border-color:#05ffb0;}"
+ - "#border-color-rgb50-115-220{ border-color:rgb(50, 115, 220);}"
+ - "#border-color-rgba50-115-220-03{ border-color:rgba(50, 115, 220, 0.3);}"
+ - "#border-color-hsl14-100-53{ border-color:hsl(14, 100%, 53%);}"
+ - "#border-color-hsla14-100-53-06{ border-color:hsla(14, 100%, 53%, 0.6);}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'border-color: transparent;'
+ description: "Applies a transparent color to the borders.
+ The borders will still take up the space defined by the border-width
+ value.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-color: red;'
+ description: You can use one of the 140+
+ color names .
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-color: #05ffb0;'
+ description: "You can use hexadecimal color codes.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-color: rgb(50, 115, 220);'
+ description: "You can use rgb() color codes:
the
+ first value is for red
the second value is for green
the
+ third value is for blue
Each of them can have a value
+ between 0 and 255 .
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-color: rgba(50, 115, 220, 0.3);'
+ description: "You can use rgba() color codes:
the
+ first 3 values are for rgb
the 4th value is for the alpha
+ channel and defines the opacity of the color The alpha value can
+ go from zero 0 (transparent) to one 1 (opaque).
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-color: hsl(14, 100%, 53%);'
+ description: "You can use hsl() color codes:
the
+ first value is for hue
and can go from 0 to 359 the
+ second value is for saturation
and go from 0%
+ to 100% the third value is for luminosity
+ and go from 0% to 100% "
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-color: hsla(14, 100%, 53%, 0.6);'
+ description: "You can use hsl()a color codes:
the
+ first 3 values are for hsl
the 4th value is for the alpha
+ channel and defines the opacity of the color The alpha value can
+ go from zero 0 (transparent) to one 1 (opaque).
"
+ output: Hello
+ world
+- title: border-left-color
+ is_shorthand: false
+ description: Like border-color
,
+ but for the left border only.
+ styles:
+ - ".border-left-color { border-left-style: solid;border-left-width: 4px; }"
+ - "#border-left-color-transparent{ border-left-color:transparent;}"
+ - "#border-left-color-red{ border-left-color:red;}"
+ - "#border-left-color-05ffb0{ border-left-color:#05ffb0;}"
+ actions: []
+ examples:
+ - is_default: false
+ title: 'border-left-color: transparent;'
+ description: "Applies a transparent color to the left border.
+ The left border will still take up the space defined by the border-width
+ value.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-left-color: red;'
+ description: You can use one of the 140+
+ color names .
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-left-color: #05ffb0;'
+ description: "You can use hexadecimal color codes, rgb()
,
+ rgba()
, hsl()
, hsla()
...
"
+ output: Hello
+ world
+- title: border-left-style
+ is_shorthand: false
+ description: Like border-style
,
+ but for the left border only.
+ styles:
+ - ".border-left-style { border-left-width: 4px; }"
+ - "#border-left-style-none{ border-left-style:none;}"
+ - "#border-left-style-dotted{ border-left-style:dotted;}"
+ - "#border-left-style-dashed{ border-left-style:dashed;}"
+ - "#border-left-style-solid{ border-left-style:solid;}"
+ - "#border-left-style-double{ border-left-style:double;}"
+ - "#border-left-style-groove{ border-left-style:groove;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'border-left-style: none;'
+ description: "Removes the left border.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-left-style: dotted;'
+ description: "Turns the left border into a sequence of dots.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-left-style: dashed;'
+ description: "Turns the left border into a sequence of dashes.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-left-style: solid;'
+ description: "Turns the left border into a solid line.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-left-style: double;'
+ description: "Splits the left border into two lines.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-left-style: groove;'
+ description: "Sets an inset style to the left border.
"
+ output: Hello
+ world
+- title: border-left-width
+ is_shorthand: false
+ description: Like border-width
,
+ but for the left border only.
+ styles:
+ - ".border-left-width { border-left-style: solid; }"
+ - "#border-left-width-0{ border-left-width:0;}"
+ - "#border-left-width-4px{ border-left-width:4px;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'border-left-width: 0;'
+ description: "Removes the left border.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-left-width: 4px;'
+ description: "You can use pixel values.
"
+ output: Hello
+ world
+- title: border-left
+ is_shorthand: true
+ description: Shorthand property for border-left-width
border-left-style
+ and border-left-color
.
+ styles:
+ - "#border-left-4px-dotted-red{ border-left:4px dotted red;}"
+ - "#border-left-2px-solid{ border-left:2px solid;}"
+ actions: []
+ examples:
+ - is_default: false
+ title: 'border-left: 4px dotted red;'
+ description: "The order is important:
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-left: 2px solid;'
+ description: "Only the color is optional . If you
+ omit it, the color applied will be the color of the text .
"
+ output: Hello
+ world
+- title: border-radius
+ is_shorthand: false
+ description: "Defines the radius of the element's corners.
"
+ styles:
+ - ".border-radius { border: 4px solid #05ffb0; }"
+ - "#border-radius-0{ border-radius:0;}"
+ - "#border-radius-20px{ border-radius:20px;}"
+ - "#border-radius-50{ border-radius:50%;}"
+ - "#border-radius-20px-50{ border-radius:20px 50%;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'border-radius: 0;'
+ description: "Removes any border radius.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-radius: 20px;'
+ description: "You can use pixel values.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-radius: 50%;'
+ description: "You can use percentage values. In this example,
+ the radius starts halfway through each border.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-radius: 20px 50%;'
+ description: "If you set two values , the first one is for
+ the top and bottom borders, the second one for the left
+ and right borders.
"
+ output: Hello
+ world
+- title: border-right-color
+ is_shorthand: false
+ description: Like border-color
,
+ but for the right border only.
+ styles:
+ - ".border-right-color { border-right-style: solid;border-right-width: 4px; }"
+ - "#border-right-color-transparent{ border-right-color:transparent;}"
+ - "#border-right-color-red{ border-right-color:red;}"
+ - "#border-right-color-05ffb0{ border-right-color:#05ffb0;}"
+ actions: []
+ examples:
+ - is_default: false
+ title: 'border-right-color: transparent;'
+ description: "Applies a transparent color to the right border.
+ The right border will still take up the space defined by the border-width
+ value.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-right-color: red;'
+ description: You can use one of the 140+
+ color names .
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-right-color: #05ffb0;'
+ description: "You can use hexadecimal color codes, rgb()
,
+ rgba()
, hsl()
, hsla()
...
"
+ output: Hello
+ world
+- title: border-right-style
+ is_shorthand: false
+ description: Like border-style
,
+ but for the right border only.
+ styles:
+ - ".border-right-style { border-right-width: 4px; }"
+ - "#border-right-style-none{ border-right-style:none;}"
+ - "#border-right-style-dotted{ border-right-style:dotted;}"
+ - "#border-right-style-dashed{ border-right-style:dashed;}"
+ - "#border-right-style-solid{ border-right-style:solid;}"
+ - "#border-right-style-double{ border-right-style:double;}"
+ - "#border-right-style-groove{ border-right-style:groove;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'border-right-style: none;'
+ description: "Removes the right border.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-right-style: dotted;'
+ description: "Turns the right border into a sequence of dots.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-right-style: dashed;'
+ description: "Turns the right border into a sequence of dashes.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-right-style: solid;'
+ description: "Turns the right border into a solid line.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-right-style: double;'
+ description: "Splits the right border into two lines.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-right-style: groove;'
+ description: "Sets an inset style to the right border.
"
+ output: Hello
+ world
+- title: border-right-width
+ is_shorthand: false
+ description: Like border-width
,
+ but for the right border only.
+ styles:
+ - ".border-right-width { border-right-style: solid; }"
+ - "#border-right-width-0{ border-right-width:0;}"
+ - "#border-right-width-4px{ border-right-width:4px;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'border-right-width: 0;'
+ description: "Removes the right border.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-right-width: 4px;'
+ description: "You can use pixel values.
"
+ output: Hello
+ world
+- title: border-right
+ is_shorthand: true
+ description: Shorthand property for border-right-width
border-right-style
+ and border-right-color
.
+ styles:
+ - "#border-right-4px-dotted-red{ border-right:4px dotted red;}"
+ - "#border-right-2px-solid{ border-right:2px solid;}"
+ actions: []
+ examples:
+ - is_default: false
+ title: 'border-right: 4px dotted red;'
+ description: "The order is important:
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-right: 2px solid;'
+ description: "Only the color is optional . If you
+ omit it, the color applied will be the color of the text .
"
+ output: Hello
+ world
+- title: border-style
+ is_shorthand: false
+ description: "Defines the style of the element's borders.
"
+ styles:
+ - ".border-style { padding: 1em;border-width: 4px; }"
+ - "#border-style-none{ border-style:none;}"
+ - "#border-style-dotted{ border-style:dotted;}"
+ - "#border-style-dashed{ border-style:dashed;}"
+ - "#border-style-solid{ border-style:solid;}"
+ - "#border-style-double{ border-style:double;}"
+ - "#border-style-groove{ border-style:groove;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'border-style: none;'
+ description: "Removes the element's borders.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-style: dotted;'
+ description: "Turns the border into a sequence of dots.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-style: dashed;'
+ description: "Turns the border into a sequence of dashes.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-style: solid;'
+ description: "Turns the border into a solid line.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-style: double;'
+ description: "Splits the border into two lines.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-style: groove;'
+ description: "Sets an inset style to the borders.
"
+ output: Hello
+ world
+- title: border-top-color
+ is_shorthand: false
+ description: Like border-color
,
+ but for the top border only.
+ styles:
+ - ".border-top-color { border-top-style: solid;border-top-width: 4px; }"
+ - "#border-top-color-transparent{ border-top-color:transparent;}"
+ - "#border-top-color-red{ border-top-color:red;}"
+ - "#border-top-color-05ffb0{ border-top-color:#05ffb0;}"
+ actions: []
+ examples:
+ - is_default: false
+ title: 'border-top-color: transparent;'
+ description: "Applies a transparent color to the top border.
+ The top border will still take up the space defined by the border-width
+ value.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-top-color: red;'
+ description: You can use one of the 140+
+ color names .
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-top-color: #05ffb0;'
+ description: "You can use hexadecimal color codes, rgb()
,
+ rgba()
, hsl()
, hsla()
...
"
+ output: Hello
+ world
+- title: border-top-left-radius
+ is_shorthand: false
+ description: "Defines the radius of the top left corner.
"
+ styles:
+ - ".border-top-left-radius { border-top-color: #05ffb0;border-left-color: hsl(348,
+ 100%, 61%);border-style: solid;border-width: 4px; }"
+ - "#border-top-left-radius-0{ border-top-left-radius:0;}"
+ - "#border-top-left-radius-20px{ border-top-left-radius:20px;}"
+ - "#border-top-left-radius-50{ border-top-left-radius:50%;}"
+ - "#border-top-left-radius-20px-50{ border-top-left-radius:20px 50%;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'border-top-left-radius: 0;'
+ description: "Removes any border radius.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-top-left-radius: 20px;'
+ description: "You can use pixel values.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-top-left-radius: 50%;'
+ description: "You can use percentage values. In this example,
+ the radius starts halfway on the top border, and ends halfway on the
+ left border.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-top-left-radius: 20px 50%;'
+ description: "If you set two values , the first one is for
+ the top border, the second one for the left border.
"
+ output: Hello
+ world
+- title: border-top-right-radius
+ is_shorthand: false
+ description: "Defines the radius of the top right corner.
"
+ styles:
+ - ".border-top-right-radius { border-top-color: #05ffb0;border-right-color: hsl(348,
+ 100%, 61%);border-style: solid;border-width: 4px; }"
+ - "#border-top-right-radius-0{ border-top-right-radius:0;}"
+ - "#border-top-right-radius-20px{ border-top-right-radius:20px;}"
+ - "#border-top-right-radius-50{ border-top-right-radius:50%;}"
+ - "#border-top-right-radius-20px-50{ border-top-right-radius:20px 50%;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'border-top-right-radius: 0;'
+ description: "Removes any border radius.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-top-right-radius: 20px;'
+ description: "You can use pixel values.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-top-right-radius: 50%;'
+ description: "You can use percentage values. In this example,
+ the radius starts halfway on the top border, and ends halfway on the
+ right border.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-top-right-radius: 20px 50%;'
+ description: "If you set two values , the first one is for
+ the top border, the second one for the right border.
"
+ output: Hello
+ world
+- title: border-top-style
+ is_shorthand: false
+ description: Like border-style
,
+ but for the top border only.
+ styles:
+ - ".border-top-style { border-top-width: 4px; }"
+ - "#border-top-style-none{ border-top-style:none;}"
+ - "#border-top-style-dotted{ border-top-style:dotted;}"
+ - "#border-top-style-dashed{ border-top-style:dashed;}"
+ - "#border-top-style-solid{ border-top-style:solid;}"
+ - "#border-top-style-double{ border-top-style:double;}"
+ - "#border-top-style-groove{ border-top-style:groove;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'border-top-style: none;'
+ description: "Removes the top border.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-top-style: dotted;'
+ description: "Turns the top border into a sequence of dots.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-top-style: dashed;'
+ description: "Turns the top border into a sequence of dashes.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-top-style: solid;'
+ description: "Turns the top border into a solid line.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-top-style: double;'
+ description: "Splits the top border into two lines.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-top-style: groove;'
+ description: "Sets an inset style to the top border.
"
+ output: Hello
+ world
+- title: border-top-width
+ is_shorthand: false
+ description: Like border-width
,
+ but for the top border only.
+ styles:
+ - ".border-top-width { border-top-style: solid; }"
+ - "#border-top-width-0{ border-top-width:0;}"
+ - "#border-top-width-4px{ border-top-width:4px;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'border-top-width: 0;'
+ description: "Removes the top border.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-top-width: 4px;'
+ description: "You can use pixel values.
"
+ output: Hello
+ world
+- title: border-top
+ is_shorthand: true
+ description: Shorthand property for border-top-width
border-top-style
+ and border-top-color
.
+ styles:
+ - "#border-top-4px-dotted-red{ border-top:4px dotted red;}"
+ - "#border-top-2px-solid{ border-top:2px solid;}"
+ actions: []
+ examples:
+ - is_default: false
+ title: 'border-top: 4px dotted red;'
+ description: "The order is important:
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-top: 2px solid;'
+ description: "Only the color is optional . If you
+ omit it, the color applied will be the color of the text .
"
+ output: Hello
+ world
+- title: border-width
+ is_shorthand: false
+ description: "Defines the width of the element's borders.
"
+ styles:
+ - ".border-width { border-style: solid; }"
+ - "#border-width-1px{ border-width:1px;}"
+ - "#border-width-2px-0{ border-width:2px 0;}"
+ actions: []
+ examples:
+ - is_default: false
+ title: 'border-width: 1px;'
+ description: "Defines the width of all borders to 1px.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border-width: 2px 0;'
+ description: "Defines the top and bottom borders to 2px, the left and right
+ to 0.
"
+ output: Hello
+ world
+- title: border
+ is_shorthand: true
+ description: Shorthand property for border-width
border-style
+ and border-color
.
+ styles:
+ - "#border-4px-dotted-red{ border:4px dotted red;}"
+ - "#border-2px-solid{ border:2px solid;}"
+ actions: []
+ examples:
+ - is_default: false
+ title: 'border: 4px dotted red;'
+ description: "The order is important:
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'border: 2px solid;'
+ description: "Only the color is optional . If you
+ omit it, the color applied will be the color of the text .
"
+ output: Hello world
+- title: bottom
+ is_shorthand: false
+ description: "Defines the position of the element according to its bottom
+ edge.
"
+ styles:
+ - ".bottom { background: #310736;height: 200px;position: relative; }"
+ - ".bottom p { color: #fff; }.bottom .natural { width: 200px; }.bottom .actual {
+ animation-direction: alternate;animation-duration: 2s;animation-iteration-count:
+ infinite;position: absolute;width: 200px; }"
+ - "#bottom-auto{ bottom:auto;}"
+ - "#bottom-auto .actual { animation-name: fadeIn;transform: translateY(-100%); }"
+ - "#bottom-20px{ bottom:20px;}"
+ - "#bottom-20px .actual { animation-name: fadeIn;bottom: 20px;position: relative;transform:
+ translateY(-100%); }"
+ - "#bottom-0{ bottom:0;}"
+ - "#bottom-0 .actual { bottom: 0; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'bottom: auto;'
+ description: "The element will remain in its natural position.
"
+ output: Parent container
Natural position
Actual position
+ - is_default: false
+ title: 'bottom: 20px;'
+ description: "If the element is in position relative , the
+ element will move upwards by the amount defined by the bottom
+ value.
"
+ output: Parent container
Natural position
Actual position
+ - is_default: false
+ title: 'bottom: 0;'
+ description: "If the element is in position absolute , the
+ element will position itself from the bottom of the first positioned
+ ancestor .
"
+ output: Parent container
Natural position
Actual position
+- title: box-shadow
+ is_shorthand: false
+ description: "Defines the shadow of the element.
"
+ styles:
+ - ".box-shadow { background: #05ffb0;margin: 1em; }"
+ - "#box-shadow-none{ box-shadow:none;}"
+ - "#box-shadow-2px-6px{ box-shadow:2px 6px;}"
+ - "#box-shadow-2px-6px-red{ box-shadow:2px 6px red;}"
+ - "#box-shadow-2px-4px-10px-red{ box-shadow:2px 4px 10px red;}"
+ - "#box-shadow-2px-4px-10px-4px-red{ box-shadow:2px 4px 10px 4px red;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'box-shadow: none;'
+ description: "Removes any box-shadow that was applied to the element.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'box-shadow: 2px 6px;'
+ description: "You need at least two values :
the
+ first is the horizontal offset the second is the vertical
+ offset The shadow color will be inherited from the text color.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'box-shadow: 2px 6px red;'
+ description: You can define a color as the last value.
+ As with color
,
+ you can use color names, hexadecimal, rgb, hsl...
+ output: Hello
+ world
+ - is_default: false
+ title: 'box-shadow: 2px 4px 10px red;'
+ description: "The optional third value defines the blur
+ of the shadow.
The color will be diffused across 10px in this example,
+ from opaque to transparent.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'box-shadow: 2px 4px 10px 4px red;'
+ description: "The optional fourth value defines the spread
+ of the shadow.
The spread defines how much the shadow should grow :
+ it enhances the shadow.
"
+ output: Hello
+ world
+- title: box-sizing
+ is_shorthand: false
+ description: "Defines how the width and height of the element are calculated:
+ whether they include the padding and borders or not.
"
+ styles:
+ - '.box-sizing .actual { border: 12px solid #310736;display: block;padding: 30px;position:
+ relative;width: 200px; }.box-sizing span { background: hsl(48, 100%, 67%);display:
+ block;padding: 5px 0; }.box-sizing .box { height: 23px;position: absolute;text-align:
+ left;width: 200px; }.box-sizing .box:before { content: "200px"; }'
+ - "#box-sizing-content-box{ box-sizing:content-box;}"
+ - "#box-sizing-content-box .actual { box-sizing: content-box; }#box-sizing-content-box
+ .box { left: 30px;top: 30px;width: 196px; }"
+ - "#box-sizing-border-box{ box-sizing:border-box;}"
+ - "#box-sizing-border-box .actual { box-sizing: border-box; }#box-sizing-border-box
+ .box { height: 27px;left: -12px;top: 30px; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'box-sizing: content-box;'
+ description: "The width and height of the
+ element only apply to the content of the element.
For
+ example, this element has
border-width: 12px
padding:
+ 30px
width: 200px
The full width
+ is 24px + 60px + 200px = 284px .
The content has the
+ defined width. The box accomodates for those dimensions.
"
+ output:
+ - is_default: false
+ title: 'box-sizing: border-box;'
+ description: "The width and height of the
+ element apply to all parts of the element: the content , the
+ padding and the borders .
For example,
+ this element has
border-width: 12px
padding:
+ 30px
width: 200px
The full width
+ is 200px , no matter what.
The box has the defined width.
+ The content accomodates for those dimensions, and ends up being 200px - 30px
+ - 24px = 146px .
"
+ output:
+- title: clear
+ is_shorthand: false
+ description: "Moves the element after all the preceding floating elements.
"
+ styles:
+ - ".clear .block.is-alpha { float: left;text-align: center; }.clear .block.is-beta
+ { float: right;text-align: center; }"
+ - "#clear-none{ clear:none;}"
+ - "#clear-left{ clear:left;}"
+ - "#clear-left .block.is-yellow { clear: left; }"
+ - "#clear-right{ clear:right;}"
+ - "#clear-right .block.is-yellow { clear: right; }"
+ - "#clear-both{ clear:both;}"
+ - "#clear-both .block.is-yellow { clear: both; }"
+ actions: []
+ examples:
+ - is_default: false
+ title: 'clear: none;'
+ description: "The clear property is only relevant when used
+ with siblings that have a float value.
The element will
+ sit alongside any floated element that precedes it.
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat
+ pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat
+ gravida libero rhoncus ut.
Float left block
Float right
This
+ is the clear none block . It lives alongside its floating siblings.
+ It takes up the remaining space left in between.
Maecenas
+ imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque
+ interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin
+ felis neque sit amet erat.
+ - is_default: false
+ title: 'clear: left;'
+ description: "The cleared element will move after any left floating
+ element that precedes it, but will remain alongside right float elements.
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat
+ pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat
+ gravida libero rhoncus ut.
Float left
Tall float right block
This
+ is the clear left element . It comes after the clear left, but remains
+ alongside the float right.
Maecenas imperdiet felis nisi,
+ fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum
+ maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
+ - is_default: false
+ title: 'clear: right;'
+ description: "The cleared element will move after any right floating
+ element that precedes it, but will remain alongside left float elements.
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat
+ pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat
+ gravida libero rhoncus ut.
Tall float left block
Float right
This
+ is the clear left element . It comes after the clear right, but remains
+ alongside the float left.
Maecenas imperdiet felis nisi,
+ fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum
+ maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
+ - is_default: false
+ title: 'clear: both;'
+ description: "The cleared element will move after any floating element
+ that precedes it. This includes both left floating and right floating elements.
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat
+ pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat
+ gravida libero rhoncus ut.
Float left
Float right
This is the clear
+ both element . It comes after both floating elements.
Maecenas
+ imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque
+ interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin
+ felis neque sit amet erat.
+- title: color
+ is_shorthand: false
+ description: "Defines the color of the text .
"
+ styles:
+ - ".color { font-size: 1.5em; }"
+ - "#color-transparent{ color:transparent;}"
+ - "#color-red{ color:red;}"
+ - "#color-05ffb0{ color:#05ffb0;}"
+ - "#color-rgb50-115-220{ color:rgb(50, 115, 220);}"
+ - "#color-rgba0-0-0-05{ color:rgba(0, 0, 0, 0.5);}"
+ - "#color-rgba0-0-0-05{ background: #05ffb0; }"
+ - "#color-hsl14-100-53{ color:hsl(14, 100%, 53%);}"
+ - "#color-hsla14-100-53-06{ color:hsla(14, 100%, 53%, 0.6);}"
+ actions: []
+ examples:
+ - is_default: false
+ title: 'color: transparent;'
+ description: "Applies a transparent color to the text. The
+ text will still take up the space it should.
"
+ output: Hello world
+ - is_default: false
+ title: 'color: red;'
+ description: You can use one of the 140+
+ color names .
+ output: Hello world
+ - is_default: false
+ title: 'color: #05ffb0;'
+ description: "You can use hexadecimal color codes.
"
+ output: Hello world
+ - is_default: false
+ title: 'color: rgb(50, 115, 220);'
+ description: "You can use rgb() color codes:
the
+ first value is for red
the second value is for green
the
+ third value is for blue
Each of them can have a value
+ between 0 and 255 .
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'color: rgba(0, 0, 0, 0.5);'
+ description: "You can use rgba() color codes:
the
+ first 3 values are for rgb
the 4th value is for the alpha
+ channel and defines the opacity of the color The alpha value can
+ go from zero 0 (transparent) to one 1 (opaque).
"
+ output: Hello world
+ - is_default: false
+ title: 'color: hsl(14, 100%, 53%);'
+ description: "You can use hsl() color codes:
the
+ first value is for hue
and can go from 0 to 359 the
+ second value is for saturation
and go from 0%
+ to 100% the third value is for luminosity
+ and go from 0% to 100% "
+ output: Hello world
+ - is_default: false
+ title: 'color: hsla(14, 100%, 53%, 0.6);'
+ description: "You can use hsl()a color codes:
the
+ first 3 values are for hsl
the 4th value is for the alpha
+ channel and defines the opacity of the color The alpha value can
+ go from zero 0 (transparent) to one 1 (opaque).
"
+ output: Hello
+ world
+- title: column-count
+ is_shorthand: false
+ description: "Defines the number of columns of the element.
"
+ styles:
+ - "#column-count-auto{ column-count:auto;}"
+ - "#column-count-3{ column-count:3;}"
+ - "#column-count-3{ -moz-column-count: 3;-webkit-column-count: 3; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'column-count: auto;'
+ description: "Removes any columns from the element (unless another column-
+ property was set).
"
+ output: Hello world
Foo bar
CSS Reference
+ - is_default: false
+ title: 'column-count: 3;'
+ description: "When using an integer value, the element will
+ distribute its child elements across the number of columns defined.
"
+ output: Hello world
Foo bar
CSS Reference
+- title: column-gap
+ is_shorthand: false
+ description: "Defines the gap between the columns of the element.
"
+ styles:
+ - ".column-gap { column-count: 3;-moz-column-count: 3;-webkit-column-count: 3; }"
+ - "#column-gap-normal{ column-gap:normal;}"
+ - "#column-gap-2px{ column-gap:2px;}"
+ - "#column-gap-2px{ -moz-column-gap: 2px;-webkit-column-gap: 2px; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'column-gap: normal;'
+ description: "The gap between the columns is set to the browser's default
+ value, which usually is 1em .
"
+ output: Hello world
Foo bar
CSS Reference
+ - is_default: false
+ title: 'column-gap: 2px;'
+ description: "You can use pixel values for the gap.
Note
+ that the gap only appears between columns, and not on the exterior
+ sides of the edge columns.
"
+ output: Hello world
Foo bar
CSS Reference
+- title: column-width
+ is_shorthand: false
+ description: "Defines the number of columns of the element.
"
+ styles:
+ - "#column-width-auto{ column-width:auto;}"
+ - "#column-width-10px{ column-width:10px;}"
+ - "#column-width-10px{ -moz-column-width: 10px;-webkit-column-width: 10px; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'column-width: auto;'
+ description: The element will not distribute its child elements
+ into columns, unlesse a column-count
+ value is defined. In that case, the column width will be infered from the column
+ count.
+ output: Hello world
Foo bar
CSS Reference
+ - is_default: false
+ title: 'column-width: 10px;'
+ description: "You can use pixel values for the column width.
+ The number of columns will be the minimum needed to distribute all the content
+ across the element.
"
+ output: Hello world
Foo bar
CSS Reference
+- title: content
+ is_shorthand: false
+ description: "Defines the text content of the :before
and :after
+ pseudo-elements.
"
+ styles:
+ - ".content p:before { content: normal; }"
+ - "#content-normal{ content:normal;}"
+ - "#content-foo-bar{ content:"Foo bar";}"
+ - '#content-foo-bar p:before { content: "Foo bar"; }'
+ - "#content-urlimagesjtpng p:before { content: url(/images/jt.png); }"
+ - "#content-attrdata-something{ content:attr(data-something);}"
+ - "#content-attrdata-something p:before { content: attr(data-something); }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'content: normal;'
+ description: "No content is added to the element.
"
+ output:
+ - is_default: false
+ title: 'content: "Foo bar";'
+ description: 'Considering this HTML element:
<p class="element">
+ Hello world </p> And this CSS:
.element:before { content:
+ "Foo bar"; } The text content will be prepended to
+ the element''s content.
Notice how the end result combines text
+ from the HTML and text from the CSS.
'
+ output:
+ - is_default: false
+ title: 'content: url(/images/jt.png);'
+ description: "You can insert images by using the url()
+ function.
"
+ output:
+ - is_default: false
+ title: 'content: attr(data-something);'
+ description: 'Considering this HTML element:
<p class="element"
+ data-something="cssreference"> Hello world </p> And this CSS:
+ .element:before { content: attr(data-something); } The element
+ will grab the text content from the HTML attribute .
'
+ output:
+- title: cursor
+ is_shorthand: false
+ description: "Sets the mouse cursor when hovering the element.
"
+ styles:
+ - "#cursor-default{ cursor:default;}"
+ - "#cursor-auto{ cursor:auto;}"
+ - "#cursor-pointer{ cursor:pointer;}"
+ - "#cursor-move{ cursor:move;}"
+ - "#cursor-crosshair{ cursor:crosshair;}"
+ - "#cursor-text{ cursor:text;}"
+ - "#cursor-wait{ cursor:wait;}"
+ - "#cursor-helpe-resize{ cursor:helpe-resize;}"
+ - "#cursor-ne-resize{ cursor:ne-resize;}"
+ - "#cursor-nw-resize{ cursor:nw-resize;}"
+ - "#cursor-n-resize{ cursor:n-resize;}"
+ - "#cursor-se-resize{ cursor:se-resize;}"
+ - "#cursor-sw-resize{ cursor:sw-resize;}"
+ - "#cursor-s-resize{ cursor:s-resize;}"
+ - "#cursor-w-resize{ cursor:w-resize;}"
+ actions: []
+ examples:
+ - is_default: false
+ title: 'cursor: default;'
+ description: "Sets the cursor to the element's default value. For a link, it
+ would be a pointer. For text it would be a selection cursor.
"
+ output:
+ - is_default: false
+ title: 'cursor: auto;'
+ description: "auto
"
+ output:
+ - is_default: false
+ title: 'cursor: pointer;'
+ description: "pointer
"
+ output:
+ - is_default: false
+ title: 'cursor: move;'
+ description: "move
"
+ output:
+ - is_default: false
+ title: 'cursor: crosshair;'
+ description: "crosshair
"
+ output:
+ - is_default: false
+ title: 'cursor: text;'
+ description: "text
"
+ output:
+ - is_default: false
+ title: 'cursor: wait;'
+ description: "wait
"
+ output:
+ - is_default: false
+ title: 'cursor: helpe-resize;'
+ description: "helpe-resize
"
+ output:
+ - is_default: false
+ title: 'cursor: ne-resize;'
+ description: "ne-resize
"
+ output:
+ - is_default: false
+ title: 'cursor: nw-resize;'
+ description: "nw-resize
"
+ output:
+ - is_default: false
+ title: 'cursor: n-resize;'
+ description: "n-resize
"
+ output:
+ - is_default: false
+ title: 'cursor: se-resize;'
+ description: "se-resize
"
+ output:
+ - is_default: false
+ title: 'cursor: sw-resize;'
+ description: "sw-resize
"
+ output:
+ - is_default: false
+ title: 'cursor: s-resize;'
+ description: "s-resize
"
+ output:
+ - is_default: false
+ title: 'cursor: w-resize;'
+ description: "w-resize
"
+ output:
+- title: display
+ is_shorthand: false
+ description: "Sets the display behavior of the element.
"
+ styles:
+ - ".display .block.is-alpha { padding: 0; }.display .block span { background: hsl(348,
+ 100%, 61%);color: #fff; }.display .block span:last-child { background: hsl(217,
+ 71%, 53%); }"
+ - "#display-none .block.is-alpha { display: none; }"
+ - "#display-inline .block.is-alpha { display: inline; }"
+ - "#display-block .block.is-alpha { display: block; }"
+ - "#display-inline-block .block.is-alpha { display: inline-block;height: 3em;width:
+ 60px; }"
+ - "#display-list-item .block.is-alpha { display: list-item; }"
+ - "#display-table .block.is-alpha { display: table; }"
+ - "#display-table-cell .block.is-alpha { display: table-cell; }"
+ - "#display-table-row .block.is-alpha { display: table-row; }"
+ - "#display-flex .block.is-alpha { display: flex; }"
+ - "#display-inline-flex .block.is-alpha { display: inline-flex;height: 3em;width:
+ 120px; }"
+ actions: []
+ examples:
+ - is_default: false
+ title: 'display: none;'
+ description: "The element is completely removed , as if it
+ wasn't in the HTML code in the first place.
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit.
Hello
+ world
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum
+ volutpat tellus diam, consequat gravida libero rhoncus ut.
+ - is_default: false
+ title: 'display: inline;'
+ description: "The element is turned into an inline element:
+ it behaves like simple text.
Any height
and width
+ applied will have no effect.
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit.
Hello
+ world
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum
+ volutpat tellus diam, consequat gravida libero rhoncus ut.
+ - is_default: false
+ title: 'display: block;'
+ description: "The element is turned into a block element:
+ it starts on a new line, and takes up the whole width.
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit.
Hello
+ world
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum
+ volutpat tellus diam, consequat gravida libero rhoncus ut.
+ - is_default: false
+ title: 'display: inline-block;'
+ description: "The element shares properties of both an inline
+ and a block element:
inline because
+ the element behaves like simple text, and inserts itself in a block of textBlock
+ because you can apply height
and width
valuesFor
+ example, this element has:
.element{ height: 3em; width: 60px; } "
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Hello world
Etiam semper diam at erat pulvinar, at pulvinar felis
+ blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
+ - is_default: false
+ title: 'display: list-item;'
+ description: "The element behaves like a list item : <li>
.
+ The only difference with block is that a list item has a bullet
+ point .
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit.
Hello
+ world
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum
+ volutpat tellus diam, consequat gravida libero rhoncus ut.
+ - is_default: false
+ title: 'display: table;'
+ description: "The element behaves like a table : <table>
.
+ Its content and child elements behave like table cells.
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit.
Target
+ First child Second child
Etiam semper diam at
+ erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat
+ gravida libero rhoncus ut.
+ - is_default: false
+ title: 'display: table-cell;'
+ description: "The element behaves like a table cell : <td>
+ or <th>
.
Its content and child elements behave like
+ table cells.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Target First child Second child
Etiam
+ semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat
+ tellus diam, consequat gravida libero rhoncus ut.
+ - is_default: false
+ title: 'display: table-row;'
+ description: "The element behaves like a table row : <tr>
.
+ Its content and child elements behave like table cells.
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit.
Target
+ First child Second child
Etiam semper diam at
+ erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat
+ gravida libero rhoncus ut.
+ - is_default: false
+ title: 'display: flex;'
+ description: "The element is turned into an flexbox container.
+ On its own, it behaves like a block element.
Its child elements will
+ be turned into flexbox items .
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit.
First
+ child Second child
Etiam semper diam at erat pulvinar,
+ at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida
+ libero rhoncus ut.
+ - is_default: false
+ title: 'display: inline-flex;'
+ description: "The element shares properties of both an inline
+ and a flexbox element:
inline
+ because the element behaves like simple text, and inserts itself in a block
+ of textflexbox because its child element will be turned
+ into flexbox itemsFor example, this element has:
.element{
+ height: 3em; width: 120px; } "
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
First child Second child
Etiam semper
+ diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus
+ diam, consequat gravida libero rhoncus ut.
+- title: flex-basis
+ is_shorthand: false
+ description: "Defines the initial size of a flexbox item.
"
+ styles:
+ - ".flex-basis { background: hsl(0, 0%, 95%);display: flex;padding: 1em;word-break:
+ break-all; }"
+ - "#flex-basis-auto{ flex-basis:auto;}"
+ - "#flex-basis-auto .block { flex-basis: auto; }"
+ - "#flex-basis-80px{ flex-basis:80px;}"
+ - "#flex-basis-80px .block { flex-basis: 80px; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'flex-basis: auto;'
+ description: "The element will be automatically sized based on its content,
+ or on any height
or width
value if they are defined.
"
+ output:
+ - is_default: false
+ title: 'flex-basis: 80px;'
+ description: "You can define pixel or (r)em
+ values. The element will wrap its content to avoid any overflow.
"
+ output:
+- title: flex-direction
+ is_shorthand: false
+ description: "Defines how flexbox items are ordered within a flexbox container.
"
+ styles:
+ - ".flex-direction { display: flex; }"
+ - "#flex-direction-row{ flex-direction:row;}"
+ - "#flex-direction-row-reverse{ flex-direction:row-reverse;}"
+ - "#flex-direction-column{ flex-direction:column;}"
+ - "#flex-direction-column-reverse{ flex-direction:column-reverse;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'flex-direction: row;'
+ description: "The flexbox items are ordered the same way as
+ the text direction , along the main axis .
"
+ output: 1. One
2.
+ Two
3. Three
4. Four
+ - is_default: false
+ title: 'flex-direction: row-reverse;'
+ description: "The flexbox items are ordered the opposite way
+ as the text direction , along the main axis .
"
+ output: 1. One
2.
+ Two
3. Three
4. Four
+ - is_default: false
+ title: 'flex-direction: column;'
+ description: "The flexbox items are ordered the same way as
+ the text direction , along the cross axis .
"
+ output: 1. One
2.
+ Two
3. Three
4. Four
+ - is_default: false
+ title: 'flex-direction: column-reverse;'
+ description: "The flexbox items are ordered the opposite way
+ as the text direction , along the cross axis .
"
+ output: 1. One
2.
+ Two
3. Three
4. Four
+- title: flex-flow
+ is_shorthand: true
+ description: Shorthand property for flex-direction
and flex-flow
.
+ styles: []
+ actions: []
+ examples: []
+- title: flex-grow
+ is_shorthand: false
+ description: "Defines how much a flexbox item should grow if
+ there's space available.
"
+ styles:
+ - ".flex-grow { background: #310736;border-radius: 3px;display: flex;padding: 1em;
+ }"
+ - "#flex-grow-0{ flex-grow:0;}"
+ - "#flex-grow-1{ flex-grow:1;}"
+ - "#flex-grow-1 .block.is-alpha { flex-grow: 1; }"
+ - "#flex-grow-2{ flex-grow:2;}"
+ - "#flex-grow-2 .block.is-alpha { flex-grow: 1; }#flex-grow-2 .block.is-pink { flex-grow:
+ 2; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'flex-grow: 0;'
+ description: "The element will not grow if there's space available.
+ It will only use the space it needs.
"
+ output:
+ - is_default: false
+ title: 'flex-grow: 1;'
+ description: "The element will grow by a factor of 1 .
+ It will fill up the remaining space if no other flexbox item has a flex-grow
+ value.
"
+ output:
+ - is_default: false
+ title: 'flex-grow: 2;'
+ description: "Because the flex-grow value is relative , its
+ behaviour depends on the value of the flexbox item siblings .
+ In this example, the remaining space is divided in 3 :
+ 1 third goes to the green item2
+ thirds go to the pink itemNothing goes to the yellow
+ item, who retains its initial width "
+ output:
+- title: flex-shrink
+ is_shorthand: false
+ description: "Defines how much a flexbox item should shrink
+ if there's not enough space available.
"
+ styles:
+ - ".flex-shrink { background: #310736;border-radius: 3px;display: flex;padding:
+ 1em;width: 300px; }"
+ - ".flex-shrink .block { flex-shrink: 1; }"
+ - "#flex-shrink-1{ flex-shrink:1;}"
+ - "#flex-shrink-0{ flex-shrink:0;}"
+ - "#flex-shrink-0 .block.is-alpha { flex-shrink: 0; }"
+ - "#flex-shrink-2{ flex-shrink:2;}"
+ - "#flex-shrink-2 .block.is-alpha { flex-grow: 1;width: 100%; }#flex-shrink-2 .block.is-pink
+ { flex-shrink: 3;word-break: break-all; }#flex-shrink-2 .block.is-yellow { flex-shrink:
+ 1;word-break: break-all; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'flex-shrink: 1;'
+ description: "If there's not enough space available in the
+ container's main axis, the element will shrink by a factor
+ of 1 , and will wrap its content.
"
+ output: This is the flex-shrink target
Foo bar
Lorem ipsum
+ - is_default: false
+ title: 'flex-shrink: 0;'
+ description: "The element will not shrink: it will retain
+ the width it needs, and not wrap its content. Its siblings
+ will shrink to give space to the target element.
Because the target element
+ will not wrap its content, there is a chance for the flexbox container's content
+ to overflow .
"
+ output: This is the flex-shrink target
Foo bar
Lorem ipsum
+ - is_default: false
+ title: 'flex-shrink: 2;'
+ description: "Because the flex-shrink value is relative , its
+ behaviour depends on the value of the flexbox item siblings .
+ In this example, the green item wants to fill 100% of the width. The space
+ it needs is taken from its two siblings, and is divided in
+ 4 :
3 quarters are taken from the
+ red item1 quarter is taken from the
+ yellow item "
+ output:
+- title: flex-wrap
+ is_shorthand: false
+ description: "Defines if flexbox items appear on a single line
+ or on multiple lines within a flexbox container.
"
+ styles:
+ - ".flex-wrap { background: #310736;display: flex;max-width: 360px; }"
+ - "#flex-wrap-nowrap{ flex-wrap:nowrap;}"
+ - "#flex-wrap-wrap{ flex-wrap:wrap;}"
+ - "#flex-wrap-wrap-reverse{ flex-wrap:wrap-reverse;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'flex-wrap: nowrap;'
+ description: "The flexbox items will remain on a single line ,
+ no matter what, and will eventually overflow if needed.
"
+ output: 1. One
2.
+ Two
3. Three
4. Four
5.
+ Five
6. Six
+ - is_default: false
+ title: 'flex-wrap: wrap;'
+ description: "The flexbox items will be distributed among multiple
+ lines if needed.
"
+ output: 1. One
2.
+ Two
3. Three
4. Four
5.
+ Five
6. Six
+ - is_default: false
+ title: 'flex-wrap: wrap-reverse;'
+ description: "The flexbox items will be distributed among multiple
+ lines if needed. Any additional line will appear before
+ the previous one.
"
+ output: 1. One
2.
+ Two
3. Three
4. Four
5.
+ Five
6. Six
+- title: float
+ is_shorthand: false
+ description: "Pushes the element to either the left or right
+ side. The following siblings will wrap around the floating element
"
+ styles:
+ - "#float-none .block.is-alpha { float: none; }"
+ - "#float-left .block.is-alpha { float: left; }"
+ - "#float-right .block.is-alpha { float: right; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'float: none;'
+ description: "Removes any previously defined float
value. The
+ element will remain in the natural flow of the page.
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat
+ pulvinar, at pulvinar felis blandit.
Target element
Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit
+ sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor
+ lorem, et sollicitudin felis neque sit amet erat.
+ - is_default: false
+ title: 'float: left;'
+ description: "Moves the element to the left side of its container.
+ The following elements will wrap around it and fill the space remaining on the
+ right.
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat
+ pulvinar, at pulvinar felis blandit.
Target element
Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit
+ sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor
+ lorem, et sollicitudin felis neque sit amet erat.
+ - is_default: false
+ title: 'float: right;'
+ description: "Moves the element to the right side of its container.
+ The following elements will wrap around it and fill the space remaining on the
+ left.
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat
+ pulvinar, at pulvinar felis blandit.
Target element
Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit
+ sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor
+ lorem, et sollicitudin felis neque sit amet erat.
+- title: font-family
+ is_shorthand: false
+ description: ''
+ styles:
+ - ".font-family { font-size: 1.5em;line-height: 1.2; }"
+ - "#font-family-source-sans-pro-arial-sans-serif{ font-family:"Source Sans
+ Pro", "Arial", sans-serif;}"
+ - "#font-family-serif{ font-family:serif;}"
+ - "#font-family-sans-serif{ font-family:sans-serif;}"
+ - "#font-family-monospace{ font-family:monospace;}"
+ - "#font-family-cursive{ font-family:cursive;}"
+ - "#font-family-fantasy{ font-family:fantasy;}"
+ actions: []
+ examples:
+ - is_default: false
+ title: 'font-family: "Source Sans Pro", "Arial", sans-serif;'
+ description: "When using multiple values, the font-family
+ list of font families defines the priority
+ in which the browser should choose the font family.
The browser will
+ look for each family on the user's computer and in any @font-face
+ resource.
The list is prioritized from left to right :
+ it will use the first value if it's available, or go to the next one, until
+ the end of the list is reached. The default font family is
+ defined by the browser preferences.
In this example, the browser will
+ try to use Source Sans Pro
if it's available. If it can't find
+ it, it will try to use Arial
. If it's not available either, it
+ will use the browser's sans-serif
font.
"
+ output: Hello
+ world The quick brown fox jumps over the lazy dog
+ - is_default: false
+ title: 'font-family: serif;'
+ description: "The browser will use a serif font family: all
+ characters have stroke endings .
"
+ output: Hello
+ world The quick brown fox jumps over the lazy dog
+ - is_default: false
+ title: 'font-family: sans-serif;'
+ description: "The browser will use a sans-serif font family:
+ no character has stroke endings.
"
+ output: Hello
+ world The quick brown fox jumps over the lazy dog
+ - is_default: false
+ title: 'font-family: monospace;'
+ description: "The browser will use a monospace font family:
+ all characters have the same width .
"
+ output: Hello
+ world The quick brown fox jumps over the lazy dog
+ - is_default: false
+ title: 'font-family: cursive;'
+ description: "The browser will use a cursive font family.
"
+ output: Hello
+ world The quick brown fox jumps over the lazy dog
+ - is_default: false
+ title: 'font-family: fantasy;'
+ description: "The browser will use a fantasy font family.
"
+ output: Hello
+ world The quick brown fox jumps over the lazy dog
+- title: font-size
+ is_shorthand: false
+ description: "Defines the size of the text.
"
+ styles:
+ - ".font-size { line-height: 1.2; }"
+ - "#font-size-medium{ font-size:medium;}"
+ - "#font-size-20px{ font-size:20px;}"
+ - "#font-size-12em .parent { font-size: 18px; }#font-size-12em .block { font-size:
+ 1.2em;margin-top: 0.25rem; }"
+ - "#font-size-12rem .parent { font-size: 18px; }#font-size-12rem .block { font-size:
+ 1.2rem;margin-top: 0.25rem; }"
+ - "#font-size-90 .parent { font-size: 18px; }#font-size-90 .block { font-size: 90%;margin-top:
+ 0.25rem; }"
+ - "#font-size-smaller .parent { font-size: 18px; }#font-size-smaller .block { font-size:
+ smaller;margin-top: 0.25rem; }"
+ - "#font-size-x-large .parent { font-size: 18px; }#font-size-x-large .block { font-size:
+ x-large;margin-top: 0.25rem; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'font-size: medium;'
+ description: "The text will use the browser's default medium
+ size.
"
+ output: Hello
+ world
The quick brown fox jumps over the lazy dog
+ - is_default: false
+ title: 'font-size: 20px;'
+ description: "You can use pixel values.
"
+ output: Hello
+ world
The quick brown fox jumps over the lazy dog
+ - is_default: false
+ title: 'font-size: 1.2em;'
+ description: "You can use em values.
The value is relative
+ to the parent 's font-size
. As a result, the
+ value will cascade if used on child elements.
"
+ output: 'Parent
+ container:
18px Font-size: 1.2em
+ =
21.6px Font-size: 1.2em =
25.92px Font-size: 1.2em = 31.104px
+
'
+ - is_default: false
+ title: 'font-size: 1.2rem;'
+ description: "You can use rem values.
The value is
+ relative to the root element 's font-size
,
+ which is the <html>
element. As a result, the value will
+ not vary depending on the depth of the element in
+ the HTML hierarchy, and will reamin context independent.
"
+ output: '<html>
root element:
18px Font-size: 1.2rem =
21.6px Font-size: 1.2rem =
21.6px Font-size:
+ 1.2rem = 21.6px
'
+ - is_default: false
+ title: 'font-size: 90%;'
+ description: "You can use percentage values. They act like
+ em values.
The value is relative to the parent 's
+ font-size
. As a result, the value will cascade
+ if used on child elements.
"
+ output: 'Parent
+ container:
18px Font-size: 90% =
+
16.2 Font-size: 90% =
14.58px Font-size: 90% = 13.122px
+
'
+ - is_default: false
+ title: 'font-size: smaller;'
+ description: "You can use relative keywords . The value is
+ relative to the parent .
The following are available:
+ "
+ output: 'Parent container:
18px Font-size:
+ smaller
Font-size: smaller
Font-size:
+ smaller
'
+ - is_default: false
+ title: 'font-size: x-large;'
+ description: "You can use absolute keywords . The value is
+ relative to the root element <html>
.
+ The following are available:
xx-small
x-small
small
medium
large
x-large
xx-large
"
+ output: '<html>
root element:
18px Font-size: x-large
Font-size:
+ x-large
Font-size: x-large
+
'
+- title: font-style
+ is_shorthand: false
+ description: "Defines how much the text is slanted.
"
+ styles:
+ - ".font-style { font-size: 1.2em; }"
+ - "#font-style-normal{ font-style:normal;}"
+ - "#font-style-italic{ font-style:italic;}"
+ - "#font-style-oblique{ font-style:oblique;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'font-style: normal;'
+ description: "The text is not slanted.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'font-style: italic;'
+ description: "Use the italic version of the font: the letters
+ are slightly slanted.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'font-style: oblique;'
+ description: "Use the oblique version of the font: the letters
+ are more slanted than italic.
"
+ output: Hello
+ world
+- title: font-variant
+ is_shorthand: false
+ description: "Defines which glyph to use for each letter.
"
+ styles:
+ - ".font-variant { font-size: 1.2em; }"
+ - "#font-variant-normal{ font-variant:normal;}"
+ - "#font-variant-small-caps{ font-variant:small-caps;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'font-variant: normal;'
+ description: "Each letter uses its normal glyph.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'font-variant: small-caps;'
+ description: "Each letter uses its small capitalized version.
"
+ output: Hello
+ world
+- title: font-weight
+ is_shorthand: false
+ description: "Defines the weight of the text.
"
+ styles:
+ - ".font-weight { font-size: 1.2em; }"
+ - "#font-weight-normal{ font-weight:normal;}"
+ - "#font-weight-bold{ font-weight:bold;}"
+ - "#font-weight-600{ font-weight:600;}"
+ - "#font-weight-lighter{ font-weight:lighter;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'font-weight: normal;'
+ description: "The text is in normal weight.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'font-weight: bold;'
+ description: "The text becomes bold .
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'font-weight: 600;'
+ description: "You can use numeric values. They all correspond
+ to a particular named weight :
100
+ Thin200 Extra Light300 Light400
+ Normal500 Medium600 Semi
+ Bold700 Bold800 Extra Bold900
+ Ultra BoldIf the font family doesn't provide the requested weight,
+ it will use the closest available one.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'font-weight: lighter;'
+ description: "You can use relative keywords: lighter
+ or bolder
. The browser will use the next available weight.
"
+ output: Hello
+ world
+- title: font
+ is_shorthand: true
+ description: Shorthand property for font-style
font-variant
+ font-weight
font-size
+ line-height
and font-family
.
+ styles: []
+ actions: []
+ examples: []
+- title: height
+ is_shorthand: false
+ description: "Defines the height of the element.
"
+ styles:
+ - ".height { max-width: 400px; }"
+ - "#height-100px .block { height: 100px; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'height: auto;'
+ description: "The element will automatically adjust its height
+ to allow its content to be displayed correctly.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper
+ diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus
+ diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla
+ luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus,
+ augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
+ - is_default: false
+ title: 'height: 100px;'
+ description: You can use numeric values like pixels ,
+ (r)em , percentages ...
If the content
+ does not fit within the specified height, it will overflow .
+ How the container will handle this overflowing content is defined by the overflow
+ property.
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper
+ diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus
+ diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla
+ luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus,
+ augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
+- title: justify-content
+ is_shorthand: false
+ description: "Defines how flexbox items are aligned according to the main
+ axis, within a flexbox container.
"
+ styles:
+ - ".justify-content { background: hsl(48, 100%, 67%);background: #310736;display:
+ flex;padding: 0; }"
+ - "#justify-content-flex-start{ justify-content:flex-start;}"
+ - "#justify-content-flex-end{ justify-content:flex-end;}"
+ - "#justify-content-center{ justify-content:center;}"
+ - "#justify-content-space-between{ justify-content:space-between;}"
+ - "#justify-content-space-around{ justify-content:space-around;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'justify-content: flex-start;'
+ description: "The flexbox items are pushed towards the start
+ of the container's main axis.
"
+ output:
+ - is_default: false
+ title: 'justify-content: flex-end;'
+ description: "The flexbox items are pushed towards the end
+ of the container's main axis.
"
+ output:
+ - is_default: false
+ title: 'justify-content: center;'
+ description: "The flexbox items are centered along the container's
+ main axis.
"
+ output:
+ - is_default: false
+ title: 'justify-content: space-between;'
+ description: "The remaining space is distributed between the
+ flexbox items.
"
+ output:
+ - is_default: false
+ title: 'justify-content: space-around;'
+ description: "The remaining space is distributed around the
+ flexbox items: this adds space before the first item and after
+ the last one.
"
+ output:
+- title: left
+ is_shorthand: false
+ description: "Defines the position of the element according to its left
+ edge.
"
+ styles:
+ - ".left { background: #310736;height: 200px;position: relative; }"
+ - ".left p { color: #fff; }.left .natural { width: 200px; }.left .actual { animation-direction:
+ alternate;animation-duration: 2s;animation-iteration-count: infinite;position:
+ absolute;width: 200px; }"
+ - "#left-auto{ left:auto;}"
+ - "#left-auto .actual { animation-name: fadeIn;transform: translateY(-100%); }"
+ - "#left-80px .actual { animation-name: fadeIn;left: 80px;position: relative;transform:
+ translateY(-100%); }"
+ - "#left--20px .actual { animation-name: fadeIn;left: -20px;transform: translateY(-100%);
+ }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'left: auto;'
+ description: "The element will remain in its natural position.
"
+ output: Parent container
Natural position
Actual position
+ - is_default: false
+ title: 'left: 80px;'
+ description: "If the element is in position relative , the
+ element will move upwards by the amount defined by the left
+ value.
"
+ output: Parent container
Natural position
Actual position
+ - is_default: false
+ title: 'left: -20px;'
+ description: "If the element is in position absolute , the
+ element will position itself from the left of the first positioned
+ ancestor .
"
+ output: Parent container
Natural position
Actual position
+- title: letter-spacing
+ is_shorthand: false
+ description: "Defines the spacing between the characters of a block of text.
"
+ styles:
+ - "#letter-spacing-normal{ letter-spacing:normal;}"
+ - "#letter-spacing-2px{ letter-spacing:2px;}"
+ - "#letter-spacing-01em{ letter-spacing:0.1em;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'letter-spacing: normal;'
+ description: "The spacing between the characters is normal .
"
+ output: The
+ quick brown fox jumps over the lazy dog
+ - is_default: false
+ title: 'letter-spacing: 2px;'
+ description: "You can use pixel values.
"
+ output: The
+ quick brown fox jumps over the lazy dog
+ - is_default: false
+ title: 'letter-spacing: 0.1em;'
+ description: "You can use em values: this allows the spacing
+ to remain relative to the font-size.
"
+ output: The
+ quick brown fox jumps over the lazy dog
+- title: line-height
+ is_shorthand: false
+ description: "Defines the height of a single line of text.
"
+ styles:
+ - "#line-height-normal{ line-height:normal;}"
+ - "#line-height-16{ line-height:1.6;}"
+ - "#line-height-16 .block { line-height: 1.6; }"
+ - "#line-height-30px{ line-height:30px;}"
+ - "#line-height-30px .block { line-height: 30px; }"
+ - "#line-height-08em{ line-height:0.8em;}"
+ - "#line-height-08em .block { line-height: 0.8em; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'line-height: normal;'
+ description: "Reverts to the default value of the browser.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+ Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat
+ tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi,
+ fringilla luctus felis hendrerit sit amet.
+ - is_default: false
+ title: 'line-height: 1.6;'
+ description: "You can use unitless values: the line height
+ will be relative to the font size.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper
+ diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus
+ diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla
+ luctus felis hendrerit sit amet.
+ - is_default: false
+ title: 'line-height: 30px;'
+ description: "You can use pixel values.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+ Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat
+ tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi,
+ fringilla luctus felis hendrerit sit amet.
+ - is_default: false
+ title: 'line-height: 0.8em;'
+ description: "You can use em values: like with unitless values,
+ the line height will be relative to the font size.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+ Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat
+ tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi,
+ fringilla luctus felis hendrerit sit amet.
+- title: list-style-image
+ is_shorthand: false
+ description: "Defines the image to be used as an list item's
+ bullet point .
"
+ styles:
+ - ".list-style-image ul { list-style-type: disc;margin-left: 1em; }"
+ - "#list-style-image-none{ list-style-image:none;}"
+ - "#list-style-image-urlimageslist-style-imagepng{ list-style-image:url(/images/list-style-image.png);}"
+ - "#list-style-image-urlimageslist-style-imagepng ul { list-style-image: url(/images/list-style-image.png);
+ }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'list-style-image: none;'
+ description: The list items will use the bullet point defined by the list-style-type
+ value, which by default is a disc .
+ output:
+ - is_default: false
+ title: 'list-style-image: url(/images/list-style-image.png);'
+ description: "The list items will use the image located at
+ the specified URL as their bullet point. The image can not be resized.
"
+ output:
+- title: list-style-position
+ is_shorthand: false
+ description: "Defines the position of a list's bullet points.
"
+ styles:
+ - ".list-style-position ul { list-style-type: disc;margin-left: 1em;max-width: 280px;
+ }.list-style-position li { background: hsl(48, 100%, 67%);line-height: 1.2; }.list-style-position
+ li + li { margin-top: 0.5em; }"
+ - "#list-style-position-outside{ list-style-position:outside;}"
+ - "#list-style-position-outside ul { list-style-position: outside; }"
+ - "#list-style-position-inside{ list-style-position:inside;}"
+ - "#list-style-position-inside ul { list-style-position: inside; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'list-style-position: outside;'
+ description: "The bullet point will be outside the list item,
+ as if it wasn't part of the list item.
The start of each line
+ of a list item will be aligned vertically.
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam
+ at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus
+ diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis
+ nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum,
+ nisl nec interdum maximus.
+ - is_default: false
+ title: 'list-style-position: inside;'
+ description: "The bullet point will be inside the list item.
+ As it is part of the list item, it will be part of the text and
+ push the text at the start.
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam
+ at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus
+ diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis
+ nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum,
+ nisl nec interdum maximus.
+- title: list-style-type
+ is_shorthand: false
+ description: "Defines the type of a list item's bullet
+ point .
"
+ styles:
+ - ".list-style-type ul { margin-left: 1em; }"
+ - "#list-style-type-disc{ list-style-type:disc;}"
+ - "#list-style-type-disc ul { list-style-type: disc; }"
+ - "#list-style-type-circle{ list-style-type:circle;}"
+ - "#list-style-type-circle ul { list-style-type: circle; }"
+ - "#list-style-type-square{ list-style-type:square;}"
+ - "#list-style-type-square ul { list-style-type: square; }"
+ - "#list-style-type-decimal{ list-style-type:decimal;}"
+ - "#list-style-type-decimal ul { list-style-type: decimal; }"
+ - "#list-style-type-none{ list-style-type:none;}"
+ - "#list-style-type-none ul { list-style-type: none; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'list-style-type: disc;'
+ description: "The list items will use a disc as their bullet
+ point.
"
+ output:
+ - is_default: false
+ title: 'list-style-type: circle;'
+ description: "The list items will use a circle as their bullet
+ point.
"
+ output:
+ - is_default: false
+ title: 'list-style-type: square;'
+ description: "The list items will use a square as their bullet
+ point.
"
+ output:
+ - is_default: false
+ title: 'list-style-type: decimal;'
+ description: "The list items will use a decimal as their bullet
+ point.
"
+ output:
+ - is_default: false
+ title: 'list-style-type: none;'
+ description: "The list items will have no bullet point.
"
+ output:
+- title: list-style
+ is_shorthand: true
+ description: Shorthand property for list-style-type
list-style-image
+ and list-style-position
.
+ styles: []
+ actions: []
+ examples: []
+- title: margin-bottom
+ is_shorthand: false
+ description: "Defines the space outside the element, on the
+ bottom side.
"
+ styles:
+ - ".margin-bottom { background: hsl(0, 0%, 80%);padding: 1em; }"
+ - ".margin-bottom .block { border-radius: 0; }.margin-bottom .block.is-alpha { position:
+ relative; }.margin-bottom .box { bottom: 0;left: 0;position: absolute;right: 0;transform:
+ translateY(100%); }"
+ - "#margin-bottom-0 .box { display: none; }"
+ - '#margin-bottom-30px .block.is-alpha { margin-bottom: 30px; }#margin-bottom-30px
+ .box { height: 30px; }#margin-bottom-30px .box:before { content: "30px"; }'
+ - '#margin-bottom-2em .block.is-alpha { margin-bottom: 2em; }#margin-bottom-2em
+ .box { height: 2em; }#margin-bottom-2em .box:before { content: "2em"; }'
+ - '#margin-bottom-10 .block.is-alpha { margin-bottom: 10%; }#margin-bottom-10 .box
+ { bottom: auto;height: 100px;top: 100%;transform: rotate(-90deg) translateX(-100%);transform-origin:
+ top left;width: 10%; }#margin-bottom-10 .box:before { content: "10%"; }'
+ actions: []
+ examples:
+ - is_default: true
+ title: 'margin-bottom: 0;'
+ description: "Removes any margin at the bottom.
"
+ output:
+ - is_default: false
+ title: 'margin-bottom: 30px;'
+ description: "You can use pixel values.
"
+ output:
+ - is_default: false
+ title: 'margin-bottom: 2em;'
+ description: "You can use (r)em values.
The value is
+ relative to the font size:
em :
+ relative to the element 's current font sizerem :
+ relative to <html>
the root element 's
+ font size "
+ output:
+ - is_default: false
+ title: 'margin-bottom: 10%;'
+ description: "You can use percentage values. The percentage
+ is based on the width of the container .
"
+ output:
+- title: margin-left
+ is_shorthand: false
+ description: "Defines the space outside the element, on the
+ left side.
"
+ styles:
+ - ".margin-left { background: hsl(0, 0%, 80%);border: 1em solid hsl(0, 0%, 80%);padding:
+ 0; }"
+ - ".margin-left .block { border-radius: 0; }.margin-left .block.is-alpha { position:
+ relative; }.margin-left .box { bottom: 0;left: 0;position: absolute;top: 0;transform:
+ translateX(-100%); }"
+ - "#margin-left-0 .box { display: none; }"
+ - '#margin-left-50px .block.is-alpha { margin-left: 50px; }#margin-left-50px .box
+ { width: 50px; }#margin-left-50px .box:before { content: "50px"; }'
+ - '#margin-left-7em .block.is-alpha { margin-left: 7em; }#margin-left-7em .box {
+ width: 7em; }#margin-left-7em .box:before { content: "7em"; }'
+ - '#margin-left-30 .block.is-alpha { margin-left: 30%; }#margin-left-30 .box { height:
+ 2.4em;left: 0;top: 3.2em;transform: none;width: 30%; }#margin-left-30 .box:before
+ { content: "30%"; }'
+ - '#margin-left-auto .block.is-alpha { margin-left: auto;width: 200px; }#margin-left-auto
+ .box { height: 2.4em;left: 0;right: 200px;top: 3.2em;transform: none;width: auto;
+ }#margin-left-auto .box:before { content: "auto"; }'
+ actions: []
+ examples:
+ - is_default: true
+ title: 'margin-left: 0;'
+ description: "Removes any margin on the left.
"
+ output:
+ - is_default: false
+ title: 'margin-left: 50px;'
+ description: "You can use pixel values.
"
+ output:
+ - is_default: false
+ title: 'margin-left: 7em;'
+ description: "You can use (r)em values.
The value is
+ relative to the font size:
em :
+ relative to the element 's current font sizerem :
+ relative to <html>
the root element 's
+ font size "
+ output:
+ - is_default: false
+ title: 'margin-left: 30%;'
+ description: "You can use percentage values. The percentage
+ is based on the width of the container .
"
+ output: First item
Target
+
Third
+ item
+ - is_default: false
+ title: 'margin-left: auto;'
+ description: "The auto keyword will give the left side a share
+ of the remaining space .
When combined with margin-right:
+ auto
, it will center the element, if a fixed width is
+ defined.
"
+ output: 'First item
Target width:
+ 200px
Third
+ item
'
+- title: margin-right
+ is_shorthand: false
+ description: "Defines the space outside the element, on the
+ right side.
"
+ styles:
+ - ".margin-right { background: hsl(0, 0%, 80%);border: 1em solid hsl(0, 0%, 80%);padding:
+ 0; }"
+ - ".margin-right .block { border-radius: 0; }.margin-right .block.is-alpha { position:
+ relative; }.margin-right .box { bottom: 0;position: absolute;right: 0;top: 0;transform:
+ translateX(100%); }"
+ - "#margin-right-0 .box { display: none; }"
+ - '#margin-right-50px .block.is-alpha { margin-right: 50px; }#margin-right-50px
+ .box { width: 50px; }#margin-right-50px .box:before { content: "50px"; }'
+ - '#margin-right-7em .block.is-alpha { margin-right: 7em; }#margin-right-7em .box
+ { width: 7em; }#margin-right-7em .box:before { content: "7em"; }'
+ - '#margin-right-30 .block.is-alpha { margin-right: 30%; }#margin-right-30 .box
+ { height: 2.4em;right: 0;top: 3.2em;transform: none;width: 30%; }#margin-right-30
+ .box:before { content: "30%"; }'
+ - '#margin-right-auto .block.is-alpha { margin-right: auto;width: 200px; }#margin-right-auto
+ .box { height: 2.4em;left: 200px;right: 0;top: 3.2em;transform: none;width: auto;
+ }#margin-right-auto .box:before { content: "auto"; }'
+ actions: []
+ examples:
+ - is_default: true
+ title: 'margin-right: 0;'
+ description: "Removes any margin on the right.
"
+ output:
+ - is_default: false
+ title: 'margin-right: 50px;'
+ description: "You can use pixel values.
"
+ output:
+ - is_default: false
+ title: 'margin-right: 7em;'
+ description: "You can use (r)em values.
The value is
+ relative to the font size:
em :
+ relative to the element 's current font sizerem :
+ relative to <html>
the root element 's
+ font size "
+ output:
+ - is_default: false
+ title: 'margin-right: 30%;'
+ description: "You can use percentage values. The percentage
+ is based on the width of the container .
"
+ output: First item
Target
+
Third
+ item
+ - is_default: false
+ title: 'margin-right: auto;'
+ description: "The auto keyword will give the right side a
+ share of the remaining space .
When combined with margin-left:
+ auto
, it will center the element, if a fixed width is
+ defined.
"
+ output: 'First item
Target width:
+ 200px
Third
+ item
'
+- title: margin-top
+ is_shorthand: false
+ description: "Defines the space outside the element, on the
+ top side.
"
+ styles:
+ - ".margin-top { background: hsl(0, 0%, 80%);padding: 1em; }"
+ - ".margin-top .block { border-radius: 0; }.margin-top .block.is-alpha { position:
+ relative; }.margin-top .box { left: 0;position: absolute;right: 0;top: 0;transform:
+ translateY(-100%); }"
+ - "#margin-top-0 .box { display: none; }"
+ - '#margin-top-30px .block.is-alpha { margin-top: 30px; }#margin-top-30px .box {
+ height: 30px; }#margin-top-30px .box:before { content: "30px"; }'
+ - '#margin-top-2em .block.is-alpha { margin-top: 2em; }#margin-top-2em .box { height:
+ 2em; }#margin-top-2em .box:before { content: "2em"; }'
+ - '#margin-top-10 .block.is-alpha { margin-top: 10%; }#margin-top-10 .box { height:
+ 100%;transform: rotate(-90deg);transform-origin: top left;width: 10%; }#margin-top-10
+ .box:before { content: "10%"; }'
+ actions: []
+ examples:
+ - is_default: true
+ title: 'margin-top: 0;'
+ description: "Removes any margin at the top.
"
+ output:
+ - is_default: false
+ title: 'margin-top: 30px;'
+ description: "You can use pixel values.
"
+ output:
+ - is_default: false
+ title: 'margin-top: 2em;'
+ description: "You can use (r)em values.
The value is
+ relative to the font size:
em :
+ relative to the element 's current font sizerem :
+ relative to <html>
the root element 's
+ font size "
+ output:
+ - is_default: false
+ title: 'margin-top: 10%;'
+ description: "You can use percentage values. The percentage
+ is based on the width of the container .
"
+ output:
+- title: margin
+ is_shorthand: true
+ description: Shorthand property for margin-top
margin-right
+ margin-bottom
and margin-left
.
+ styles:
+ - ".margin { background: hsl(0, 0%, 80%);border: 1em solid hsl(0, 0%, 80%);padding:
+ 0; }"
+ - ".margin .block { border-radius: 0; }.margin .square { align-items: center;border-radius:
+ 0;display: flex;height: auto;justify-content: center;width: auto; }.margin .container
+ { align-items: stretch;display: flex; }.margin .block.is-alpha { flex-grow: 1;flex-shrink:
+ 1; }"
+ - "#margin-0 .box { display: none; }"
+ - '#margin-30px .square.is-top { height: 30px; }#margin-30px .square.is-top:before
+ { content: "30px"; }#margin-30px .square.is-bottom { height: 30px; }#margin-30px
+ .square.is-bottom:before { content: "30px"; }#margin-30px .square.is-left:before
+ { content: "30px";width: 30px; }#margin-30px .square.is-right:before { content:
+ "30px";width: 30px; }'
+ - '#margin-30px-60px .square.is-top { height: 30px; }#margin-30px-60px .square.is-top:before
+ { content: "30px"; }#margin-30px-60px .square.is-bottom { height: 30px; }#margin-30px-60px
+ .square.is-bottom:before { content: "30px"; }#margin-30px-60px .square.is-left:before
+ { content: "60px";width: 60px; }#margin-30px-60px .square.is-right:before { content:
+ "60px";width: 60px; }'
+ - '#margin-30px-60px-45px .square.is-top { height: 30px; }#margin-30px-60px-45px
+ .square.is-top:before { content: "30px"; }#margin-30px-60px-45px .square.is-bottom
+ { height: 45px; }#margin-30px-60px-45px .square.is-bottom:before { content: "45px";
+ }#margin-30px-60px-45px .square.is-left:before { content: "60px";width: 60px;
+ }#margin-30px-60px-45px .square.is-right:before { content: "60px";width: 60px;
+ }'
+ - '#margin-30px-60px-45px-85px .square.is-top { height: 30px; }#margin-30px-60px-45px-85px
+ .square.is-top:before { content: "30px"; }#margin-30px-60px-45px-85px .square.is-bottom
+ { height: 45px; }#margin-30px-60px-45px-85px .square.is-bottom:before { content:
+ "45px"; }#margin-30px-60px-45px-85px .square.is-left:before { content: "85px";width:
+ 85px; }#margin-30px-60px-45px-85px .square.is-right:before { content: "60px";width:
+ 60px; }'
+ actions: []
+ examples:
+ - is_default: true
+ title: 'margin: 0;'
+ description: "Removes all margins.
"
+ output:
+ - is_default: false
+ title: 'margin: 30px;'
+ description: "When using 1 value, the margin is set for all
+ 4 sides .
"
+ output:
+ - is_default: false
+ title: 'margin: 30px 60px;'
+ description: "When using 2 values:
the first
+ value is for top/bottom the second
+ value is for right/left To remember the order
+ think about the values you haven't defined .
If you enter
+ 2 values (top/right), you omit setting bottom and
+ left. Because bottom is the vertical counterpart of top, it will use top’s value.
+ And because left is the horizontal counterpart of right, it will use right’s
+ value.
"
+ output:
+ - is_default: false
+ title: 'margin: 30px 60px 45px;'
+ description: "When using 3 values:
the first
+ value is for top the second value
+ is for right/left the third value
+ is for bottom To remember the order
+ think about the values you haven't defined .
If you enter
+ 3 values (top/right/bottom), you omit setting left. As right’s
+ counterpart, it will use its value.
"
+ output:
+ - is_default: false
+ title: 'margin: 30px 60px 45px 85px;'
+ description: "When using 4 values:
the first
+ value is for top the second value
+ is for right the third value is for
+ bottom the fourth value is for left To
+ remember the order , start at the top and go
+ clockwise .
"
+ output:
+- title: max-height
+ is_shorthand: false
+ description: "Defines the maximum height the element can be.
"
+ styles:
+ - ".max-height { max-width: 400px; }"
+ - "#max-height-100px .block { max-height: 100px; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'max-height: none;'
+ description: "The element has no limit in terms of height.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper
+ diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus
+ diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla
+ luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus,
+ augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
+ - is_default: false
+ title: 'max-height: 2000px;'
+ description: "You can use numeric values like pixels ,
+ (r)em , percentages ...
If the maximum
+ height is larger than the element's actual height,
+ the max height has no effect .
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+ Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat
+ tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi,
+ fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum
+ maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
+ - is_default: false
+ title: 'max-height: 100px;'
+ description: If the content does not fit within the maximum height, it will
+ overflow . How the container will handle this overflowing content
+ is defined by the overflow
+ property.
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper
+ diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus
+ diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla
+ luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus,
+ augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
+- title: max-width
+ is_shorthand: false
+ description: "Defines the maximum width the element can be.
"
+ styles:
+ - "#max-width-150px .block { max-width: 150px; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'max-width: none;'
+ description: "The element has no limit in terms of width.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper
+ diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus
+ diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla
+ luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus,
+ augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
+ - is_default: false
+ title: 'max-width: 2000px;'
+ description: "You can use numeric values like pixels ,
+ (r)em , percentages ...
If the maximum
+ width is larger than the element's actual width, the
+ max width has no effect .
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper
+ diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus
+ diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla
+ luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus,
+ augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
+ - is_default: false
+ title: 'max-width: 150px;'
+ description: "If the content does not fit within the maximum width, it will
+ automatically change the height of the element to accomodate
+ for the wrapping of the content.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper
+ diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus
+ diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla
+ luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus,
+ augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
+- title: min-height
+ is_shorthand: false
+ description: "Defines the minimum height of the element.
"
+ styles:
+ - ".min-height .block { max-width: 400px; }"
+ - "#min-height-200px .block { min-height: 200px; }"
+ - "#min-height-5px .block { min-height: 5px; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'min-height: 0;'
+ description: "The element has no minimum height.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper
+ diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus
+ diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla
+ luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum minimus,
+ augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
+ - is_default: false
+ title: 'min-height: 200px;'
+ description: "You can use numeric values like pixels ,
+ (r)em , percentages ...
If the minimum
+ height is larger than the element's actual height,
+ the min height will be applied.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper
+ diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus
+ diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla
+ luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum minimus,
+ augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
+ - is_default: false
+ title: 'min-height: 5px;'
+ description: "If the minimum height is smaller than
+ the element's actual height, the min height has no effect .
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper
+ diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus
+ diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla
+ luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum minimus,
+ augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
+- title: min-width
+ is_shorthand: false
+ description: "Defines the minimum width of the element.
"
+ styles:
+ - ".min-width .block { display: inline-block;vertical-align: top; }"
+ - "#min-width-300px .block { min-width: 300px; }"
+ - "#min-width-5px .block { min-width: 5px; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'min-width: 0;'
+ description: "The element has no minimum width.
"
+ output:
+ - is_default: false
+ title: 'min-width: 300px;'
+ description: "You can use numeric values like pixels ,
+ (r)em , percentages ...
If the minimum
+ width is larger than the element's actual width, the
+ min width will be applied.
"
+ output:
+ - is_default: false
+ title: 'min-width: 5px;'
+ description: "If the minimum width is smaller than
+ the element's actual width, the min width has no effect .
"
+ output:
+- title: mix-blend-mode
+ is_shorthand: false
+ description: "Defines how the element should blend with the
+ background.
"
+ styles:
+ - ".mix-blend-mode { background: #310736;display: flex;padding: 1em; }"
+ - "#mix-blend-mode-multiply .block { mix-blend-mode: multiply; }"
+ - "#mix-blend-mode-screen .block { mix-blend-mode: screen; }"
+ - "#mix-blend-mode-overlay .block { mix-blend-mode: overlay; }"
+ - "#mix-blend-mode-darken .block { mix-blend-mode: darken; }"
+ - "#mix-blend-mode-lighten .block { mix-blend-mode: lighten; }"
+ - "#mix-blend-mode-color-dodge .block { mix-blend-mode: color-dodge; }"
+ - "#mix-blend-mode-color-burn .block { mix-blend-mode: color-burn; }"
+ - "#mix-blend-mode-hard-light .block { mix-blend-mode: hard-light; }"
+ - "#mix-blend-mode-soft-light .block { mix-blend-mode: soft-light; }"
+ - "#mix-blend-mode-difference .block { mix-blend-mode: difference; }"
+ - "#mix-blend-mode-exclusion .block { mix-blend-mode: exclusion; }"
+ - "#mix-blend-mode-hue .block { mix-blend-mode: hue; }"
+ - "#mix-blend-mode-saturation .block { mix-blend-mode: saturation; }"
+ - "#mix-blend-mode-color .block { mix-blend-mode: color; }"
+ - "#mix-blend-mode-luminosity .block { mix-blend-mode: luminosity; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'mix-blend-mode: normal;'
+ description: "The element does not blend.
"
+ output: Hello world
Hello world
Hello world
+ - is_default: false
+ title: 'mix-blend-mode: multiply;'
+ description: "The element uses the multiply blend mode.
"
+ output: Hello world
Hello world
Hello world
+ - is_default: false
+ title: 'mix-blend-mode: screen;'
+ description: "The element uses the screen blend mode.
"
+ output: Hello world
Hello world
Hello world
+ - is_default: false
+ title: 'mix-blend-mode: overlay;'
+ description: "The element uses the overlay blend mode.
"
+ output: Hello world
Hello world
Hello world
+ - is_default: false
+ title: 'mix-blend-mode: darken;'
+ description: "The element uses the darken blend mode.
"
+ output: Hello world
Hello world
Hello world
+ - is_default: false
+ title: 'mix-blend-mode: lighten;'
+ description: "The element uses the lighten blend mode.
"
+ output: Hello world
Hello world
Hello world
+ - is_default: false
+ title: 'mix-blend-mode: color-dodge;'
+ description: "The element uses the color-dodge blend mode.
"
+ output: Hello world
Hello world
Hello world
+ - is_default: false
+ title: 'mix-blend-mode: color-burn;'
+ description: "The element uses the color-burn blend mode.
"
+ output: Hello world
Hello world
Hello world
+ - is_default: false
+ title: 'mix-blend-mode: hard-light;'
+ description: "The element uses the hard-light blend mode.
"
+ output: Hello world
Hello world
Hello world
+ - is_default: false
+ title: 'mix-blend-mode: soft-light;'
+ description: "The element uses the soft-light blend mode.
"
+ output: Hello world
Hello world
Hello world
+ - is_default: false
+ title: 'mix-blend-mode: difference;'
+ description: "The element uses the difference blend mode.
"
+ output: Hello world
Hello world
Hello world
+ - is_default: false
+ title: 'mix-blend-mode: exclusion;'
+ description: "The element uses the exclusion blend mode.
"
+ output: Hello world
Hello world
Hello world
+ - is_default: false
+ title: 'mix-blend-mode: hue;'
+ description: "The element uses the hue blend mode.
"
+ output: Hello world
Hello world
Hello world
+ - is_default: false
+ title: 'mix-blend-mode: saturation;'
+ description: "The element uses the saturation blend mode.
"
+ output: Hello world
Hello world
Hello world
+ - is_default: false
+ title: 'mix-blend-mode: color;'
+ description: "The element uses the color blend mode.
"
+ output: Hello world
Hello world
Hello world
+ - is_default: false
+ title: 'mix-blend-mode: luminosity;'
+ description: "The element uses the luminosity blend mode.
"
+ output: Hello world
Hello world
Hello world
+- title: opacity
+ is_shorthand: false
+ description: "Defines how opaque the element is.
"
+ styles:
+ - ".opacity { background: #310736;padding: 1em; }"
+ - "#opacity-0 .block { opacity: 0; }"
+ - "#opacity-03 .block { opacity: 0.3; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'opacity: 1;'
+ description: "The element is fully opaque .
"
+ output:
+ - is_default: false
+ title: 'opacity: 0;'
+ description: "The element is fully transparent .
"
+ output:
+ - is_default: false
+ title: 'opacity: 0.3;'
+ description: "Any value between 0 (zero) and 1
+ (one) will make the element semi transparent .
"
+ output:
+- title: order
+ is_shorthand: false
+ description: "Defines the order of a flexbox item.
"
+ styles:
+ - ".order { display: flex; }"
+ - ".order .block { flex-grow: 1;flex-shrink: 1; }.order em { font-style: normal;
+ }"
+ - "#order-1 .block.is-pink { order: 1; }"
+ - "#order--1 .block.is-pink { order: -1; }"
+ - "#order-9 .block.is-alpha { order: 13; }#order-9 .block.is-beta { order: -7; }#order-9
+ .block.is-pink { order: 9; }#order-9 .block.is-yellow { order: 5; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'order: 0;'
+ description: "The order of the flexbox items is the one defined in the HTML
+ code .
"
+ output: 'Oneorder:
+ 0
Twoorder: 0
Targetorder: 0
Fourorder:
+ 0
'
+ - is_default: false
+ title: 'order: 1;'
+ description: "The order is relative to the flexbox item's
+ siblings . The final order is defined when all individual flexbox item
+ order values are taken into account.
"
+ output: 'Oneorder:
+ 0
Twoorder: 0
Targetorder: 1
Fourorder:
+ 0
'
+ - is_default: false
+ title: 'order: -1;'
+ description: "You can use negative values.
"
+ output: 'Oneorder: 0
Twoorder:
+ 0
Targetorder: -1
Fourorder: 0
'
+ - is_default: false
+ title: 'order: 9;'
+ description: "You can set a different value for each flexbox
+ item.
"
+ output: 'Oneorder:
+ 13
Twoorder: -7
Targetorder: 9
Fourorder:
+ 5
'
+- title: outline-color
+ is_shorthand: false
+ description: "Defines the color of the element's outlines.
"
+ styles:
+ - ".outline-color { outline-style: solid;outline-width: 4px; }"
+ - "#outline-color-transparent{ outline-color:transparent;}"
+ - "#outline-color-red{ outline-color:red;}"
+ - "#outline-color-05ffb0{ outline-color:#05ffb0;}"
+ - "#outline-color-rgb50-115-220{ outline-color:rgb(50, 115, 220);}"
+ - "#outline-color-rgba50-115-220-03{ outline-color:rgba(50, 115, 220, 0.3);}"
+ - "#outline-color-hsl14-100-53{ outline-color:hsl(14, 100%, 53%);}"
+ - "#outline-color-hsla14-100-53-06{ outline-color:hsla(14, 100%, 53%, 0.6);}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'outline-color: transparent;'
+ description: "Applies a transparent color to the outlines.
+ The outlines will still take up the space defined by the outline-width
+ value.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'outline-color: red;'
+ description: You can use one of the 140+
+ color names .
+ output: Hello
+ world
+ - is_default: false
+ title: 'outline-color: #05ffb0;'
+ description: "You can use hexadecimal color codes.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'outline-color: rgb(50, 115, 220);'
+ description: "You can use rgb() color codes:
the
+ first value is for red
the second value is for green
the
+ third value is for blue
Each of them can have a value
+ between 0 and 255 .
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'outline-color: rgba(50, 115, 220, 0.3);'
+ description: "You can use rgba() color codes:
the
+ first 3 values are for rgb
the 4th value is for the alpha
+ channel and defines the opacity of the color The alpha value can
+ go from zero 0 (transparent) to one 1 (opaque).
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'outline-color: hsl(14, 100%, 53%);'
+ description: "You can use hsl() color codes:
the
+ first value is for hue
and can go from 0 to 359 the
+ second value is for saturation
and go from 0%
+ to 100% the third value is for luminosity
+ and go from 0% to 100% "
+ output: Hello
+ world
+ - is_default: false
+ title: 'outline-color: hsla(14, 100%, 53%, 0.6);'
+ description: "You can use hsl()a color codes:
the
+ first 3 values are for hsl
the 4th value is for the alpha
+ channel and defines the opacity of the color The alpha value can
+ go from zero 0 (transparent) to one 1 (opaque).
"
+ output: Hello
+ world
+- title: outline-style
+ is_shorthand: false
+ description: "Defines the style of the element's outlines.
"
+ styles:
+ - ".outline-style { padding: 1em;outline-width: 4px; }"
+ - "#outline-style-none{ outline-style:none;}"
+ - "#outline-style-dotted{ outline-style:dotted;}"
+ - "#outline-style-dashed{ outline-style:dashed;}"
+ - "#outline-style-solid{ outline-style:solid;}"
+ - "#outline-style-double{ outline-style:double;}"
+ - "#outline-style-groove{ outline-style:groove;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'outline-style: none;'
+ description: "Removes the element's outlines.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'outline-style: dotted;'
+ description: "Turns the outline into a sequence of dots.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'outline-style: dashed;'
+ description: "Turns the outline into a sequence of dashes.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'outline-style: solid;'
+ description: "Turns the outline into a solid line.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'outline-style: double;'
+ description: "Splits the outline into two lines.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'outline-style: groove;'
+ description: "Sets an inset style to the outlines.
"
+ output: Hello
+ world
+- title: outline-width
+ is_shorthand: false
+ description: "Defines the width of the element's outlines.
"
+ styles:
+ - ".outline-width { outline-style: solid; }"
+ - "#outline-width-medium{ outline-width:medium;}"
+ - "#outline-width-1px{ outline-width:1px;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'outline-width: medium;'
+ description: "Defines the width of all outlines to medium .
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'outline-width: 1px;'
+ description: "Defines the width of all outlines to 1px .
"
+ output: Hello
+ world
+- title: outline
+ is_shorthand: true
+ description: Shorthand property for outline-width
outline-style
+ and outline-color
.
+ styles:
+ - "#outline-4px-dotted-red{ outline:4px dotted red;}"
+ - "#outline-2px-solid{ outline:2px solid;}"
+ actions: []
+ examples:
+ - is_default: false
+ title: 'outline: 4px dotted red;'
+ description: "The order is important:
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'outline: 2px solid;'
+ description: "Only the color is optional . If you
+ omit it, the color applied will be the color of the text .
"
+ output: Hello
+ world
+- title: overflow-wrap
+ is_shorthand: false
+ description: "Defines if words should break when reaching the end of a line.
"
+ styles:
+ - '.overflow-wrap { font-family: "Source Code Pro", monospace;width: 18em; }'
+ - "#overflow-wrap-normal{ overflow-wrap:normal;}"
+ - "#overflow-wrap-break-word{ overflow-wrap:break-word;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'overflow-wrap: normal;'
+ description: "Words with no space will not break. Sequences
+ of uninterrupted characters will be displayed on a single line.
"
+ output: Thequickbrownfoxjumpsoverthelazydog
+ - is_default: false
+ title: 'overflow-wrap: break-word;'
+ description: "Words with no space will break as soon as they
+ reach the end of a line.
"
+ output: Thequickbrownfoxjumpsoverthelazydog
+- title: overflow-x
+ is_shorthand: false
+ description: "Defines how overflowing content on the horizontal axis is displayed.
"
+ styles:
+ - ".overflow-x .block { white-space: nowrap;width: 200px; }"
+ - "#overflow-x-visible .block { overflow-x: visible; }"
+ - "#overflow-x-hidden .block { overflow-x: hidden; }"
+ - "#overflow-x-scroll .block { overflow-x: scroll; }"
+ - "#overflow-x-auto .block { overflow-x: auto; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'overflow-x: visible;'
+ description: "The overflowing content is visible , while the
+ element itself stays at the specified width.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+ - is_default: false
+ title: 'overflow-x: hidden;'
+ description: "The overflowing content is hidden and can not
+ be accessed.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+ - is_default: false
+ title: 'overflow-x: scroll;'
+ description: "The overflowing content is accessible thanks to a horizontal
+ scrollbar .
"
+ output:
+ - is_default: false
+ title: 'overflow-x: auto;'
+ description: "The browser decides whether to display a horizontal scrollbar
+ or not.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+- title: overflow-y
+ is_shorthand: false
+ description: "Defines how overflowing content on the vertical axis is displayed.
"
+ styles:
+ - ".overflow-y .block { height: 80px;width: 240px; }"
+ - "#overflow-y-visible .block { overflow-y: visible; }"
+ - "#overflow-y-hidden .block { overflow-y: hidden; }"
+ - "#overflow-y-scroll .block { overflow-y: scroll; }"
+ - "#overflow-y-auto .block { overflow-y: auto; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'overflow-y: visible;'
+ description: "The overflowing content is visible , while the
+ element itself stays at the specified height.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+ Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat
+ tellus diam, consequat gravida libero rhoncus ut.
+ - is_default: false
+ title: 'overflow-y: hidden;'
+ description: "The overflowing content is hidden and can not
+ be accessed.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+ Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat
+ tellus diam, consequat gravida libero rhoncus ut.
+ - is_default: false
+ title: 'overflow-y: scroll;'
+ description: "The overflowing content is accessible thanks to a vertical
+ scrollbar .
"
+ output:
+ - is_default: false
+ title: 'overflow-y: auto;'
+ description: "The browser decides whether to display a vertical scrollbar or
+ not.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper
+ diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus
+ diam, consequat gravida libero rhoncus ut.
+- title: overflow
+ is_shorthand: false
+ description: "Defines how overflowing content on both horizontal and vertical
+ axis is displayed.
"
+ styles:
+ - ".overflow { height: 120px;overflow: hidden;padding: 0; }"
+ - ".overflow .block { height: 80px;width: 240px; }.overflow .block span { display:
+ block;white-space: nowrap; }"
+ - "#overflow-visible .block { overflow: visible; }"
+ - "#overflow-hidden .block { overflow: hidden; }"
+ - "#overflow-scroll .block { overflow: scroll; }"
+ - "#overflow-auto .block { overflow: auto; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'overflow: visible;'
+ description: "The overflowing content is visible , while the
+ element itself stays at the specified height.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam
+ semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum
+ volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas
+ imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque
+ interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin
+ felis neque sit amet erat.
+ - is_default: false
+ title: 'overflow: hidden;'
+ description: "The overflowing content is hidden and can not
+ be accessed.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam
+ semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum
+ volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas
+ imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque
+ interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin
+ felis neque sit amet erat.
+ - is_default: false
+ title: 'overflow: scroll;'
+ description: "The overflowing content is accessible thanks to a vertical
+ scrollbar .
"
+ output:
+ - is_default: false
+ title: 'overflow: auto;'
+ description: "The browser decides whether to display a vertical scrollbar or
+ not.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam
+ semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum
+ volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas
+ imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque
+ interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin
+ felis neque sit amet erat.
+- title: padding-bottom
+ is_shorthand: false
+ description: "Defines the space inside the element, on the bottom
+ side.
"
+ styles:
+ - ".padding-bottom { background: hsl(0, 0%, 80%);border: 1em solid hsl(0, 0%, 80%);padding:
+ 0; }"
+ - ".padding-bottom .block { border-radius: 0;padding: 0; }.padding-bottom .block.is-alpha
+ { position: relative; }.padding-bottom .box { bottom: 0;left: 0;position: absolute;right:
+ 0; }"
+ - "#padding-bottom-0 .box { display: none; }"
+ - '#padding-bottom-50px .block.is-alpha { padding-bottom: 50px; }#padding-bottom-50px
+ .box { height: 50px; }#padding-bottom-50px .box:before { content: "50px"; }'
+ - '#padding-bottom-7em .block.is-alpha { padding-bottom: 7em; }#padding-bottom-7em
+ .box { height: 7em; }#padding-bottom-7em .box:before { content: "7em"; }'
+ - '#padding-bottom-30 .block.is-alpha { padding-bottom: 30%; }#padding-bottom-30
+ .box { bottom: 1.2em;height: 60px;transform: rotate(-90deg) translateY(60px);transform-origin:
+ bottom left;width: 30%; }#padding-bottom-30 .box:before { content: "30%"; }'
+ actions: []
+ examples:
+ - is_default: true
+ title: 'padding-bottom: 0;'
+ description: "Removes any padding on the bottom.
"
+ output:
+ - is_default: false
+ title: 'padding-bottom: 50px;'
+ description: "You can use pixel values.
"
+ output:
+ - is_default: false
+ title: 'padding-bottom: 7em;'
+ description: "You can use (r)em values.
The value is
+ relative to the font size:
em :
+ relative to the element 's current font sizerem :
+ relative to <html>
the root element 's
+ font size "
+ output:
+ - is_default: false
+ title: 'padding-bottom: 30%;'
+ description: "You can use percentage values. The percentage
+ is based on the width of the element .
"
+ output: First item
Target
+
Third item
+- title: padding-left
+ is_shorthand: false
+ description: "Defines the space inside the element, on the left
+ side.
"
+ styles:
+ - ".padding-left { background: hsl(0, 0%, 80%);border: 1em solid hsl(0, 0%, 80%);padding:
+ 0; }"
+ - ".padding-left .block { border-radius: 0;padding-left: 0; }.padding-left .block.is-alpha
+ { position: relative; }.padding-left .box { bottom: 0;left: 0;position: absolute;top:
+ 0; }"
+ - "#padding-left-0 .box { display: none; }"
+ - '#padding-left-50px .block.is-alpha { padding-left: 50px; }#padding-left-50px
+ .box { width: 50px; }#padding-left-50px .box:before { content: "50px"; }'
+ - '#padding-left-7em .block.is-alpha { padding-left: 7em; }#padding-left-7em .box
+ { width: 7em; }#padding-left-7em .box:before { content: "7em"; }'
+ - '#padding-left-30 .block.is-alpha { padding-left: 30%; }#padding-left-30 .box
+ { width: 30%; }#padding-left-30 .box:before { content: "30%"; }'
+ actions: []
+ examples:
+ - is_default: true
+ title: 'padding-left: 0;'
+ description: "Removes any padding on the left.
"
+ output:
+ - is_default: false
+ title: 'padding-left: 50px;'
+ description: "You can use pixel values.
"
+ output:
+ - is_default: false
+ title: 'padding-left: 7em;'
+ description: "You can use (r)em values.
The value is
+ relative to the font size:
em :
+ relative to the element 's current font sizerem :
+ relative to <html>
the root element 's
+ font size "
+ output:
+ - is_default: false
+ title: 'padding-left: 30%;'
+ description: "You can use percentage values. The percentage
+ is based on the width of the element .
"
+ output:
+- title: padding-right
+ is_shorthand: false
+ description: "Defines the space inside the element, on the right
+ side.
"
+ styles:
+ - ".padding-right { background: hsl(0, 0%, 80%);border: 1em solid hsl(0, 0%, 80%);padding:
+ 0; }"
+ - ".padding-right .block { border-radius: 0;padding-right: 0;text-align: right;
+ }.padding-right .block.is-alpha { position: relative; }.padding-right .box { bottom:
+ 0;right: 0;position: absolute;top: 0; }"
+ - "#padding-right-0 .box { display: none; }"
+ - '#padding-right-50px .block.is-alpha { padding-right: 50px; }#padding-right-50px
+ .box { width: 50px; }#padding-right-50px .box:before { content: "50px"; }'
+ - '#padding-right-7em .block.is-alpha { padding-right: 7em; }#padding-right-7em
+ .box { width: 7em; }#padding-right-7em .box:before { content: "7em"; }'
+ - '#padding-right-30 .block.is-alpha { padding-right: 30%; }#padding-right-30 .box
+ { width: 30%; }#padding-right-30 .box:before { content: "30%"; }'
+ actions: []
+ examples:
+ - is_default: true
+ title: 'padding-right: 0;'
+ description: "Removes any padding on the right.
"
+ output:
+ - is_default: false
+ title: 'padding-right: 50px;'
+ description: "You can use pixel values.
"
+ output:
+ - is_default: false
+ title: 'padding-right: 7em;'
+ description: "You can use (r)em values.
The value is
+ relative to the font size:
em :
+ relative to the element 's current font sizerem :
+ relative to <html>
the root element 's
+ font size "
+ output:
+ - is_default: false
+ title: 'padding-right: 30%;'
+ description: "You can use percentage values. The percentage
+ is based on the width of the element .
"
+ output:
+- title: padding-top
+ is_shorthand: false
+ description: "Defines the space inside the element, on the top
+ side.
"
+ styles:
+ - ".padding-top { background: hsl(0, 0%, 80%);border: 1em solid hsl(0, 0%, 80%);padding:
+ 0; }"
+ - ".padding-top .block { border-radius: 0;padding: 0; }.padding-top .block.is-alpha
+ { position: relative; }.padding-top .box { left: 0;position: absolute;right: 0;top:
+ 0; }"
+ - "#padding-top-0 .box { display: none; }"
+ - '#padding-top-50px .block.is-alpha { padding-top: 50px; }#padding-top-50px .box
+ { height: 50px; }#padding-top-50px .box:before { content: "50px"; }'
+ - '#padding-top-7em .block.is-alpha { padding-top: 7em; }#padding-top-7em .box {
+ height: 7em; }#padding-top-7em .box:before { content: "7em"; }'
+ - '#padding-top-30 .block.is-alpha { padding-top: 30%; }#padding-top-30 .box { height:
+ 60px;top: 1.2em;transform: rotate(-90deg) translateX(-100%);transform-origin:
+ top left;width: 30%; }#padding-top-30 .box:before { content: "30%"; }'
+ actions: []
+ examples:
+ - is_default: true
+ title: 'padding-top: 0;'
+ description: "Removes any padding on the top.
"
+ output:
+ - is_default: false
+ title: 'padding-top: 50px;'
+ description: "You can use pixel values.
"
+ output:
+ - is_default: false
+ title: 'padding-top: 7em;'
+ description: "You can use (r)em values.
The value is
+ relative to the font size:
em :
+ relative to the element 's current font sizerem :
+ relative to <html>
the root element 's
+ font size "
+ output:
+ - is_default: false
+ title: 'padding-top: 30%;'
+ description: "You can use percentage values. The percentage
+ is based on the width of the element .
"
+ output: First item
Target
+
Third item
+- title: padding
+ is_shorthand: true
+ description: Shorthand property for padding-top
padding-right
+ padding-bottom
and padding-left
.
+ styles:
+ - ".padding { background: #05ffb0;padding: 0; }"
+ - ".padding .block { padding: 0; }.padding .square { align-items: center;background:
+ rgba(0,0,0,0.3);border-radius: 0;display: flex;height: auto;justify-content: center;width:
+ auto; }.padding .container { align-items: stretch;display: flex; }.padding .block.is-alpha
+ { flex-grow: 1;flex-shrink: 1; }"
+ - "#padding-0 .box { display: none; }"
+ - '#padding-30px .square.is-top { height: 30px; }#padding-30px .square.is-top:before
+ { content: "30px"; }#padding-30px .square.is-bottom { height: 30px; }#padding-30px
+ .square.is-bottom:before { content: "30px"; }#padding-30px .square.is-left:before
+ { content: "30px";width: 30px; }#padding-30px .square.is-right:before { content:
+ "30px";width: 30px; }'
+ - '#padding-30px-60px .square.is-top { height: 30px; }#padding-30px-60px .square.is-top:before
+ { content: "30px"; }#padding-30px-60px .square.is-bottom { height: 30px; }#padding-30px-60px
+ .square.is-bottom:before { content: "30px"; }#padding-30px-60px .square.is-left:before
+ { content: "60px";width: 60px; }#padding-30px-60px .square.is-right:before { content:
+ "60px";width: 60px; }'
+ - '#padding-30px-60px-45px .square.is-top { height: 30px; }#padding-30px-60px-45px
+ .square.is-top:before { content: "30px"; }#padding-30px-60px-45px .square.is-bottom
+ { height: 45px; }#padding-30px-60px-45px .square.is-bottom:before { content: "45px";
+ }#padding-30px-60px-45px .square.is-left:before { content: "60px";width: 60px;
+ }#padding-30px-60px-45px .square.is-right:before { content: "60px";width: 60px;
+ }'
+ - '#padding-30px-60px-45px-85px .square.is-top { height: 30px; }#padding-30px-60px-45px-85px
+ .square.is-top:before { content: "30px"; }#padding-30px-60px-45px-85px .square.is-bottom
+ { height: 45px; }#padding-30px-60px-45px-85px .square.is-bottom:before { content:
+ "45px"; }#padding-30px-60px-45px-85px .square.is-left:before { content: "85px";width:
+ 85px; }#padding-30px-60px-45px-85px .square.is-right:before { content: "60px";width:
+ 60px; }'
+ actions: []
+ examples:
+ - is_default: true
+ title: 'padding: 0;'
+ description: "Removes all paddings.
"
+ output:
+ - is_default: false
+ title: 'padding: 30px;'
+ description: "When using 1 value, the padding is set for all
+ 4 sides .
"
+ output:
+ - is_default: false
+ title: 'padding: 30px 60px;'
+ description: "When using 2 values:
the first
+ value is for top/bottom the second
+ value is for right/left To remember the order
+ think about the values you haven't defined .
If you enter
+ 2 values (top/right), you omit setting bottom and
+ left. Because bottom is the vertical counterpart of top, it will use top’s value.
+ And because left is the horizontal counterpart of right, it will use right’s
+ value.
"
+ output:
+ - is_default: false
+ title: 'padding: 30px 60px 45px;'
+ description: "When using 3 values:
the first
+ value is for top the second value
+ is for right/left the third value
+ is for bottom To remember the order
+ think about the values you haven't defined .
If you enter
+ 3 values (top/right/bottom), you omit setting left. As right’s
+ counterpart, it will use its value.
"
+ output:
+ - is_default: false
+ title: 'padding: 30px 60px 45px 85px;'
+ description: "When using 4 values:
the first
+ value is for top the second value
+ is for right the third value is for
+ bottom the fourth value is for left To
+ remember the order , start at the top and go
+ clockwise .
"
+ output:
+- title: pointer-events
+ is_shorthand: false
+ description: "Defines if the element reacts to pointer events or not.
"
+ styles:
+ - ".pointer-events .block.is-container { cursor: default;position: relative; }.pointer-events
+ .block.is-alpha { cursor: pointer;opacity: 0.7;padding: 0.4em 0.5em;position:
+ absolute; }.pointer-events .block.is-alpha:hover { background: #310736;color:
+ #fff;opacity: 1; }"
+ - "#pointer-events-auto{ pointer-events:auto;}"
+ - "#pointer-events-none{ pointer-events:none;}"
+ - "#pointer-events-none .block { pointer-events: none; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'pointer-events: auto;'
+ description: "The element reacts to pointer events, like :hover
+ or click
.
"
+ output: Hover me
Lorem ipsum
+ dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar,
+ at pulvinar felis blandit.
+ - is_default: false
+ title: 'pointer-events: none;'
+ description: "The element does not react to pointer events,
+ like :hover
or click
. As a result, elements that are
+ behind are accessible.
"
+ output: Hover me
Lorem ipsum
+ dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar,
+ at pulvinar felis blandit.
+- title: position
+ is_shorthand: false
+ description: "Defines the position behavior of the element.
"
+ styles:
+ - ".position { background: #310736;color: #fff;height: 200px;position: relative;
+ }"
+ - ".position .block.is-alpha { margin-top: 1em; }.position .block.is-pink { position:
+ absolute;right: 5px;top: 5px; }"
+ - "#position-relative .block.is-alpha { position: relative; }"
+ - "#position-absolute .block.is-alpha { left: 0;margin-top: 0;position: absolute;top:
+ 0;width: 280px; }"
+ - "#position-fixed.is-fixed .block.is-alpha { position: fixed;z-index: 10000; }"
+ - "#position-fixed .block.is-alpha { left: auto;right: 0;margin-top: 0;position:
+ absolute;top: 0;width: 280px; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'position: static;'
+ description: "The element will remain in the natural flow
+ of the page.
As a result, it will not act as anchor
+ point for the absolutely positioned yellow block.
Also, it will not
+ react to the following properties:
top
bottom
left
right
z-index
"
+ output: 'Ancestor
+ container
Target element position:
+ static Child element position: absolute right:
+ 5px top: 5px
'
+ - is_default: false
+ title: 'position: relative;'
+ description: "The element will remain in the natural flow
+ of the page.
It also makes the element positioned : it
+ will act as an anchor point for the absolutely positioned yellow block.
+ Also, it will react to the following properties:
top
bottom
left
right
z-index
"
+ output: 'Ancestor
+ container
Target element position:
+ relative Child element position: absolute right:
+ 5px top: 5px
'
+ - is_default: false
+ title: 'position: absolute;'
+ description: "The element will not remain in the natural flow
+ of the page. It will position itself according to the closest positioned
+ ancestor .
Because it's positioned , it will
+ act as an anchor point for the absolutely positioned yellow block.
Also,
+ it will react to the following properties:
top
bottom
left
right
z-index
"
+ output: 'Ancestor
+ container
Target element position:
+ absolute left: 0 top: 0 Child element right:
+ 5px top: 5px
'
+ - is_default: false
+ title: 'position: fixed;'
+ description: "The element will not remain in the natural flow
+ of the page. It will position itself according to the viewport .
+ Because it's positioned , it will act as an anchor point
+ for the absolutely positioned yellow block.
Also, it will react
+ to the following properties:
top
bottom
left
right
z-index
"
+ output: 'Ancestor
+ container
Target element position:
+ fixed right: 0 top: 0 Child element position:
+ absolute right: 5px top: 5px
'
+- title: resize
+ is_shorthand: false
+ description: "Defines if the textarea is resizable or not.
"
+ styles:
+ - '.resize textarea { background: #fff;border: 1px solid hsl(0, 0%, 50%);color:
+ hsl(0, 0%, 20%);font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
+ "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
+ "Helvetica", "Arial", sans-serif;height: 10em;padding: 0.8em 1em;width: 25em;
+ }'
+ - "#resize-none{ resize:none;}"
+ - "#resize-none textarea { resize: none; }"
+ - "#resize-horizontal{ resize:horizontal;}"
+ - "#resize-horizontal textarea { resize: horizontal; }"
+ - "#resize-vertical{ resize:vertical;}"
+ - "#resize-vertical textarea { resize: vertical; }"
+ - "#resize-both{ resize:both;}"
+ - "#resize-both textarea { resize: both; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'resize: none;'
+ description: "The textarea is not resizable.
"
+ output:
+ - is_default: false
+ title: 'resize: horizontal;'
+ description: "The textarea is resizable horizontally .
"
+ output:
+ - is_default: false
+ title: 'resize: vertical;'
+ description: "The textarea is resizable vertically .
"
+ output:
+ - is_default: false
+ title: 'resize: both;'
+ description: "The textarea is resizable both horizontally
+ and vertically .
"
+ output:
+- title: text-align
+ is_shorthand: false
+ description: "Defines how the text content of the element is horizontally aligned.
"
+ styles:
+ - "#text-align-left{ text-align:left;}"
+ - "#text-align-right{ text-align:right;}"
+ - "#text-align-center{ text-align:center;}"
+ - "#text-align-justify{ text-align:justify;}"
+ actions: []
+ examples:
+ - is_default: false
+ title: 'text-align: left;'
+ description: "The text content is aligned to the left .
"
+ output: Hello world Lorem ipsum dolor sit amet, consectetur
+ adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit.
+ Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
+ - is_default: false
+ title: 'text-align: right;'
+ description: "The text content is aligned to the right .
"
+ output: Hello world Lorem ipsum dolor sit amet, consectetur
+ adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit.
+ Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
+ - is_default: false
+ title: 'text-align: center;'
+ description: "The text content is centered .
"
+ output: Hello world Lorem ipsum dolor sit
+ amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar
+ felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus
+ ut.
+ - is_default: false
+ title: 'text-align: justify;'
+ description: "The text content is justified .
"
+ output: Hello world Lorem ipsum dolor sit
+ amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar
+ felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus
+ ut.
+- title: text-decoration
+ is_shorthand: false
+ description: "Defines how the text content of the element is decorated.
"
+ styles:
+ - "#text-decoration-none{ text-decoration:none;}"
+ - "#text-decoration-underline{ text-decoration:underline;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'text-decoration: none;'
+ description: "Removes any text decoration.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'text-decoration: underline;'
+ description: "Underlines the text content.
"
+ output: Hello
+ world
+- title: text-indent
+ is_shorthand: false
+ description: "Defines the indentation of the element's first line of text.
"
+ styles:
+ - "#text-indent-0{ text-indent:0;}"
+ - "#text-indent-40px{ text-indent:40px;}"
+ - "#text-indent--2em{ text-indent:-2em;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'text-indent: 0;'
+ description: "The text is not indented.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper
+ diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus
+ diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla
+ luctus felis hendrerit sit amet.
+ - is_default: false
+ title: 'text-indent: 40px;'
+ description: "You can use numeric values like pixels ,
+ (r)em , percentages ...
Notice how only
+ the first line is indented.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+ Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat
+ tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi,
+ fringilla luctus felis hendrerit sit amet.
+ - is_default: false
+ title: 'text-indent: -2em;'
+ description: "You can also use negative values.
"
+ output: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+ Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat
+ tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi,
+ fringilla luctus felis hendrerit sit amet.
+- title: text-overflow
+ is_shorthand: false
+ description: "Defines how the hidden text content behaves if it's overflowing.
"
+ styles:
+ - ".text-overflow { display: flex; }"
+ - ".text-overflow .block { overflow: hidden;white-space: nowrap;width: 5em; }"
+ - "#text-overflow-clip{ text-overflow:clip;}"
+ - "#text-overflow-clip .block { text-overflow: clip; }"
+ - "#text-overflow-ellipsis{ text-overflow:ellipsis;}"
+ - "#text-overflow-ellipsis .block { text-overflow: ellipsis; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'text-overflow: clip;'
+ description: "The text content is clipped and not accessible.
"
+ output:
+ - is_default: false
+ title: 'text-overflow: ellipsis;'
+ description: "The overflowing content is replaced by an ellipsis :
+ …
"
+ output:
+- title: text-shadow
+ is_shorthand: false
+ description: "Defines the shadow of the text content.
"
+ styles:
+ - "#text-shadow-none{ text-shadow:none;}"
+ - "#text-shadow-2px-6px{ text-shadow:2px 6px;}"
+ - "#text-shadow-2px-6px-red{ text-shadow:2px 6px red;}"
+ - "#text-shadow-2px-4px-10px-red{ text-shadow:2px 4px 10px red;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'text-shadow: none;'
+ description: "The text content has no shadow .
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat
+ pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat
+ gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis
+ hendrerit sit amet.
+ - is_default: false
+ title: 'text-shadow: 2px 6px;'
+ description: "You need at least two values :
the
+ first is the horizontal offset the second is the vertical
+ offset The shadow color will be inherited from the text color.
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat
+ pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat
+ gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis
+ hendrerit sit amet.
+ - is_default: false
+ title: 'text-shadow: 2px 6px red;'
+ description: You can define a color as the last value.
+ As with color
,
+ you can use color names, hexadecimal, rgb, hsl...
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat
+ pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat
+ gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis
+ hendrerit sit amet.
+ - is_default: false
+ title: 'text-shadow: 2px 4px 10px red;'
+ description: "The optional third value defines the blur
+ of the shadow.
The color will be diffused across 10px in this example,
+ from opaque to transparent.
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat
+ pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat
+ gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis
+ hendrerit sit amet.
+- title: text-transform
+ is_shorthand: false
+ description: "Defines how the text content should be transformed.
"
+ styles:
+ - "#text-transform-none{ text-transform:none;}"
+ - "#text-transform-capitalize{ text-transform:capitalize;}"
+ - "#text-transform-uppercase{ text-transform:uppercase;}"
+ - "#text-transform-lowercase{ text-transform:lowercase;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'text-transform: none;'
+ description: "Removes any text transformation: the text will appear the same
+ as in the HTML code.
"
+ output: Hello
+ world! Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+ Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat
+ tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi,
+ fringilla luctus felis hendrerit sit amet.
+ - is_default: false
+ title: 'text-transform: capitalize;'
+ description: "Turns the first letter of each word into a capital
+ letter.
"
+ output: Hello
+ world! Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+ Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat
+ tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi,
+ fringilla luctus felis hendrerit sit amet.
+ - is_default: false
+ title: 'text-transform: uppercase;'
+ description: "Turns all letters into capital
+ letters.
"
+ output: Hello
+ world! Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+ Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat
+ tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi,
+ fringilla luctus felis hendrerit sit amet.
+ - is_default: false
+ title: 'text-transform: lowercase;'
+ description: "Turns all letters into lowercase
+ letters.
"
+ output: Hello
+ world! Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+ Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat
+ tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi,
+ fringilla luctus felis hendrerit sit amet.
+- title: top
+ is_shorthand: false
+ description: "Defines the position of the element according to its top edge.
"
+ styles:
+ - ".top { background: #310736;height: 200px;position: relative; }"
+ - ".top p { color: #fff; }.top .natural { width: 200px; }.top .actual { animation-direction:
+ alternate;animation-duration: 2s;animation-iteration-count: infinite;position:
+ absolute;width: 200px; }"
+ - "#top-auto{ top:auto;}"
+ - "#top-auto .actual { animation-name: fadeIn;transform: translateY(-100%); }"
+ - "#top-20px{ top:20px;}"
+ - "#top-20px .actual { animation-name: fadeIn;position: relative;top: 20px;transform:
+ translateY(-100%); }"
+ - "#top-0{ top:0;}"
+ - "#top-0 .actual { top: 0; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'top: auto;'
+ description: "The element will remain in its natural position.
"
+ output: Parent container
Natural position
Actual position
+ - is_default: false
+ title: 'top: 20px;'
+ description: "If the element is in position relative , the
+ element will move upwards by the amount defined by the top
+ value.
"
+ output: Parent container
Natural position
Actual position
+ - is_default: false
+ title: 'top: 0;'
+ description: "If the element is in position absolute , the
+ element will position itself from the top of the first positioned ancestor .
"
+ output: Parent container
Natural position
Actual position
+- title: transform-origin
+ is_shorthand: false
+ description: Defines the origin for transformations defined by the transform
property.
+ styles:
+ - ".transform-origin.is-animated .block.is-alpha { animation-name: rotateFull; }"
+ - ".transform-origin .block { height: 100px;width: 100px; }.transform-origin .block.is-container
+ { padding: 0;position: relative; }.transform-origin .block.is-alpha { align-items:
+ center;animation-duration: 5s;animation-iteration-count: infinite;animation-timing-function:
+ linear;display: flex;justify-content: center; }.transform-origin .origin { background:
+ hsl(348, 100%, 61%);border-radius: 290486px;height: 10px;margin: -5px 0 0 -5px;position:
+ absolute;width: 10px; }"
+ - "#transform-origin-50-50-0{ transform-origin:50% 50% 0;}"
+ - "#transform-origin-50-50-0 .origin { left: 50%;top: 50%; }"
+ - "#transform-origin-20px-70{ transform-origin:20px 70%;}"
+ - "#transform-origin-20px-70 .origin { left: 20px;top: 70%; }#transform-origin-20px-70
+ .block.is-alpha { transform-origin: 20px 70%; }"
+ - "#transform-origin-top-right{ transform-origin:top right;}"
+ - "#transform-origin-top-right .origin { left: 100%;top: 0; }#transform-origin-top-right
+ .block.is-alpha { transform-origin: top right; }"
+ - "#transform-origin-center-bottom{ transform-origin:center bottom;}"
+ - "#transform-origin-center-bottom .origin { left: 50%;top: 100%; }#transform-origin-center-bottom
+ .block.is-alpha { transform-origin: center bottom; }"
+ actions:
+ -
+ examples:
+ - is_default: true
+ title: 'transform-origin: 50% 50% 0;'
+ description: "The transform origin is in the center of the
+ element.
"
+ output:
+ - is_default: false
+ title: 'transform-origin: 20px 70%;'
+ description: "You can use 2 values :
the first
+ value is the horizontal axis the second is the vertical
+ axis "
+ output:
+ - is_default: false
+ title: 'transform-origin: top right;'
+ description: "You can use a combination of position keywords :
+ center
, top
, bottom
, left
+ and right
.
"
+ output:
+ - is_default: false
+ title: 'transform-origin: center bottom;'
+ description: "When using keywords, you can change the order
+ of the axis, as long as each keywords is unambiguous.
"
+ output:
+- title: transform
+ is_shorthand: false
+ description: "Defines how the element is transformed.
"
+ styles:
+ - ".transform { display: flex; }"
+ - ".transform .natural { height: 75px;position: absolute;width: 75px; }.transform
+ .actual { height: 75px;position: relative;width: 75px; }"
+ - '#transform-none .actual:before { content: "no transform"; }'
+ - '#transform-translatex40px .actual { transform: translateX(40px); }#transform-translatex40px
+ .actual:before { content: "translateX"; }'
+ - '#transform-translatey20px .actual { transform: translateY(20px); }#transform-translatey20px
+ .actual:before { content: "translateY"; }'
+ - '#transform-translatey100 .actual { transform: translateY(100%); }#transform-translatey100
+ .actual:before { content: "translateY"; }'
+ - '#transform-translate20px--10 .actual { transform: translate(20px, -10%); }#transform-translate20px--10
+ .actual:before { content: "translate"; }'
+ - '#transform-scalex15 .actual { transform: scaleX(1.5); }#transform-scalex15 .actual:before
+ { content: "scaleX"; }'
+ - '#transform-scaley04 .actual { transform: scaleY(0.4); }#transform-scaley04 .actual:before
+ { content: "scaleY"; }'
+ - '#transform-scaley-2 .actual { transform: scaleY(-2); }#transform-scaley-2 .actual:before
+ { content: "scaleY"; }'
+ - '#transform-scale08-08 .actual { transform: scale(0.8, 0.8); }#transform-scale08-08
+ .actual:before { content: "scale"; }'
+ - '#transform-rotate45deg .actual { transform: rotate(45deg); }#transform-rotate45deg
+ .actual:before { content: "rotate"; }'
+ - '#transform-skewx15deg .actual { transform: skewX(15deg); }#transform-skewx15deg
+ .actual:before { content: "skewX"; }'
+ - '#transform-skewy45deg .actual { transform: skewY(45deg); }#transform-skewy45deg
+ .actual:before { content: "skewY"; }'
+ - '#transform-skew10deg--20deg .actual { transform: skew(10deg, -20deg); }#transform-skew10deg--20deg
+ .actual:before { content: "skew"; }'
+ - '#transform-rotate5deg-scale11-11-translate-20-30px .actual { transform: rotate(5deg)
+ scale(1.1, 1.1) translate(-20%, 30px); }#transform-rotate5deg-scale11-11-translate-20-30px
+ .actual:before { content: "multi"; }'
+ actions: []
+ examples:
+ - is_default: true
+ title: 'transform: none;'
+ description: "Removes any transformation.
"
+ output:
+ - is_default: false
+ title: 'transform: translateX(40px);'
+ description: "Move the element on the horizontal axis.
"
+ output:
+ - is_default: false
+ title: 'transform: translateY(20px);'
+ description: "Move the element on the vertical axis.
"
+ output:
+ - is_default: false
+ title: 'transform: translateY(100%);'
+ description: "You can use percentage values: the percentage
+ is relative to the element itself , and not the parent.
"
+ output:
+ - is_default: false
+ title: 'transform: translate(20px, -10%);'
+ description: "You can use translate()
with two values :
+ the first value is for the horizontal axis the
+ second value is for the vertical axis "
+ output:
+ - is_default: false
+ title: 'transform: scaleX(1.5);'
+ description: "Scale the element on the horizontal axis.
"
+ output:
+ - is_default: false
+ title: 'transform: scaleY(0.4);'
+ description: "Scale the element on the vertical axis.
"
+ output:
+ - is_default: false
+ title: 'transform: scaleY(-2);'
+ description: "You can use negative values: it will invert
+ the element.
"
+ output:
+ - is_default: false
+ title: 'transform: scale(0.8, 0.8);'
+ description: "You can use scale()
with two values :
+ the first value is for the horizontal axis the
+ second value is for the vertical axis By using
+ the same value for both, you can scale proportionally .
"
+ output:
+ - is_default: false
+ title: 'transform: rotate(45deg);'
+ description: "Rotate the element.
You can use:
degrees
+ from 0
to 360deg
gradians
+ from 0
to 400grad
radians
+ from 0
to 2Ď€rad
turns from
+ 0
to 1turn
"
+ output:
+ - is_default: false
+ title: 'transform: skewX(15deg);'
+ description: "Skew the element on the horizontal axis.
"
+ output:
+ - is_default: false
+ title: 'transform: skewY(45deg);'
+ description: "Skew the element on the vertical axis.
"
+ output:
+ - is_default: false
+ title: 'transform: skew(10deg, -20deg);'
+ description: "You can use skew()
with two values :
+ the first value is for the horizontal axis the
+ second value is for the vertical axis "
+ output:
+ - is_default: false
+ title: 'transform: rotate(5deg) scale(1.1, 1.1) translate(-20%, 30px);'
+ description: "You can combine multiple transformations by
+ separating them with a space.
"
+ output:
+- title: transition-delay
+ is_shorthand: false
+ description: "Defines how long the transition has to wait before starting .
"
+ styles:
+ - ".transition-delay { padding: 0; }"
+ - ".transition-delay:hover .square { background: hsl(348, 100%, 61%);color: #fff;transform:
+ translateX(200%); }"
+ - ".transition-delay .square { transition-duration: 1s;transition-timing-function:
+ linear;transition-property: background transform; }"
+ - "#transition-delay-12s .square { transition-delay: 1.2s; }"
+ - "#transition-delay-2400ms .square { transition-delay: 2400ms; }"
+ - "#transition-delay--500ms .square { transition-delay: -500ms; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'transition-delay: 0s;'
+ description: "The transition will wait zero seconds , and thus
+ start right away.
"
+ output:
+ - is_default: false
+ title: 'transition-delay: 1.2s;'
+ description: "You can use decimal values in seconds
+ with the keyword s
.
"
+ output:
+ - is_default: false
+ title: 'transition-delay: 2400ms;'
+ description: "You can use milliseconds instead of seconds,
+ with the keyword ms
.
"
+ output:
+ - is_default: false
+ title: 'transition-delay: -500ms;'
+ description: "You can use negative values : the transition
+ will start as if it had already been playing for 500ms
.
"
+ output:
+- title: transition-duration
+ is_shorthand: false
+ description: "Defines how long the transition lasts.
"
+ styles:
+ - ".transition-duration { padding: 0; }"
+ - ".transition-duration:hover .square { background: hsl(348, 100%, 61%);color: #fff;transform:
+ translateX(200%); }"
+ - ".transition-duration .square { transition-timing-function: linear;transition-property:
+ background transform; }"
+ - "#transition-duration-0s .square { transition-duration: 0s; }"
+ - "#transition-duration-12s .square { transition-duration: 1.2s; }"
+ - "#transition-duration-2400ms .square { transition-duration: 2400ms; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'transition-duration: 0s;'
+ description: "The transition will last zero seconds , and is
+ thus instant .
"
+ output:
+ - is_default: false
+ title: 'transition-duration: 1.2s;'
+ description: "You can use decimal values in seconds
+ with the keyword s
.
"
+ output:
+ - is_default: false
+ title: 'transition-duration: 2400ms;'
+ description: "You can use milliseconds instead of seconds,
+ with the keyword ms
.
"
+ output:
+- title: transition-property
+ is_shorthand: false
+ description: "Defines which properties will transition.
"
+ styles:
+ - ".transition-property { padding: 0; }"
+ - ".transition-property:hover .square { background: hsl(348, 100%, 61%);color: #fff;transform:
+ translateX(200%); }"
+ - ".transition-property .square { transition-duration: 1s;transition-timing-function:
+ linear; }"
+ - "#transition-property-all .square { transition-property: all; }"
+ - "#transition-property-none .square { transition-property: none; }"
+ - "#transition-property-background .square { transition-property: background; }"
+ - "#transition-property-color .square { transition-property: color; }"
+ - "#transition-property-transform .square { transition-property: transform; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'transition-property: all;'
+ description: The element will transition all properties:
+
+ output:
+ - is_default: false
+ title: 'transition-property: none;'
+ description: "The element will transition no property: the
+ transition is thus instant .
"
+ output:
+ - is_default: false
+ title: 'transition-property: background;'
+ description: "The element will only transtion the background
+ property.
"
+ output:
+ - is_default: false
+ title: 'transition-property: color;'
+ description: "The element will only transtion the color property.
"
+ output:
+ - is_default: false
+ title: 'transition-property: transform;'
+ description: "The element will only transtion the transform
+ property.
"
+ output:
+- title: transition-timing-function
+ is_shorthand: false
+ description: "Defines how the values between the start and the end
+ of the transition are calculated.
"
+ styles:
+ - ".transition-timing-function { padding: 0; }"
+ - ".transition-timing-function:hover .square { background: hsl(348, 100%, 61%);color:
+ #fff;transform: translateX(200%); }"
+ - ".transition-timing-function .square { transition-duration: 1s;transition-property:
+ all; }"
+ - "#transition-timing-function-ease .square { transition-timing-function: ease;
+ }"
+ - "#transition-timing-function-ease-in .square { transition-timing-function: ease-in;
+ }"
+ - "#transition-timing-function-ease-out .square { transition-timing-function: ease-out;
+ }"
+ - "#transition-timing-function-ease-in-out .square { transition-timing-function:
+ ease-in-out; }"
+ - "#transition-timing-function-linear .square { transition-timing-function: linear;
+ }"
+ - "#transition-timing-function-step-start .square { transition-timing-function:
+ step-start; }"
+ - "#transition-timing-function-step-end .square { transition-timing-function: step-end;
+ }"
+ - "#transition-timing-function-steps4-end .square { transition-timing-function:
+ steps(4, end); }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'transition-timing-function: ease;'
+ description: "The transition starts slowly, accelerates in the middle, and
+ slows down at the end.
"
+ output:
+ - is_default: false
+ title: 'transition-timing-function: ease-in;'
+ description: "The transition starts slowly, and accelerates gradually until
+ the end.
"
+ output:
+ - is_default: false
+ title: 'transition-timing-function: ease-out;'
+ description: "The transition starts quickly, and decelerates gradually until
+ the end.
"
+ output:
+ - is_default: false
+ title: 'transition-timing-function: ease-in-out;'
+ description: "Like ease
, but more pronounced.
The transition
+ starts quickly, and decelerates gradually until the end.
"
+ output:
+ - is_default: false
+ title: 'transition-timing-function: linear;'
+ description: "The transition has a *constant speed .
"
+ output:
+ - is_default: false
+ title: 'transition-timing-function: step-start;'
+ description: "The transition jumps instantly to the final
+ state .
"
+ output:
+ - is_default: false
+ title: 'transition-timing-function: step-end;'
+ description: "The transition stays at the initial state until
+ the end, when it instantly jumps to the final state .
"
+ output:
+ - is_default: false
+ title: 'transition-timing-function: steps(4, end);'
+ description: "By using steps()
with an integer ,
+ you can define a specific number of steps before reaching the end.
+ The state of the element will not vary gradually, but rather jump
+ from state to state in separate instants.
"
+ output:
+- title: transition
+ is_shorthand: true
+ description: Shorthand property for transition-property
transition-duration
transition-timing-function
+ and transition-delay
.
Only
+ transition-duration
is required .
+ styles:
+ - ".transition { padding: 0; }"
+ - ".transition:hover .square { background: hsl(348, 100%, 61%);color: #fff;transform:
+ translateX(200%); }"
+ - "#transition-1s .square { transition: 1s; }"
+ - "#transition-1s-linear .square { transition: 1s linear; }"
+ - "#transition-background-1s-linear .square { transition: background 1s linear;
+ }"
+ - "#transition-background-1s-linear-500ms .square { transition: background 1s linear
+ 500ms; }"
+ - "#transition-background-4s-transform-1s .square { transition: background 4s, transform
+ 1s; }"
+ actions: []
+ examples:
+ - is_default: false
+ title: 'transition: 1s;'
+ description: "transition-duration
is set
+ to 1s
transition-property
defaults
+ to all
transition-timing-function
defaults
+ to ease
transition-delay
defaults
+ to 0s
"
+ output:
+ - is_default: false
+ title: 'transition: 1s linear;'
+ description: "transition-duration
is set
+ to 1s
transition-property
defaults
+ to all
transition-timing-function
is set
+ to linear
transition-delay
defaults
+ to 0s
"
+ output:
+ - is_default: false
+ title: 'transition: background 1s linear;'
+ description: "transition-duration
is set
+ to 1s
transition-property
is set
+ to background
transition-timing-function
is
+ set to linear
transition-delay
+ defaults to 0s
"
+ output:
+ - is_default: false
+ title: 'transition: background 1s linear 500ms;'
+ description: "transition-duration
is set
+ to 1s
transition-property
is set
+ to background
transition-timing-function
is
+ set to linear
transition-delay
+ is set to 500ms
"
+ output:
+ - is_default: false
+ title: 'transition: background 4s, transform 1s;'
+ description: "You can combine multiple properties with their
+ own transition duration.
"
+ output:
+- title: white-space
+ is_shorthand: false
+ description: "Defines how the element's white space is handled.
"
+ styles:
+ - '.white-space { font-family: "Source Code Pro", monospace;font-size: 0.7rem;width:
+ 18em; }'
+ - "#white-space-normal{ white-space:normal;}"
+ - "#white-space-nowrap{ white-space:nowrap;}"
+ - "#white-space-pre{ white-space:pre;}"
+ - "#white-space-pre-wrap{ white-space:pre-wrap;}"
+ - "#white-space-pre-line{ white-space:pre-line;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'white-space: normal;'
+ description: "Sequences of spaces are combined into one. Line breaks are
+ ignored. The text content is wrapped.
"
+ output: '#parent
+ .selector ul li blockquote{ color: red; font-size: 1rem; }
'
+ - is_default: false
+ title: 'white-space: nowrap;'
+ description: "Sequences of spaces are combined into one. Line breaks are
+ ignored. The text content is not wrapped and remains on
+ a single line .
"
+ output: '#parent
+ .selector ul li blockquote{ color: red; font-size: 1rem; }
'
+ - is_default: false
+ title: 'white-space: pre;'
+ description: "The white space is exactly preserved .
+ Sequences of spaces are preserved Lines break only on new lines
+ and <br>
"
+ output: '#parent
+ .selector ul li blockquote{ color: red; font-size: 1rem; }
'
+ - is_default: false
+ title: 'white-space: pre-wrap;'
+ description: "The white space is mostly preserved .
+ Sequences of spaces are preserved Lines break on new lines, <br>
,
+ but also when reaching the end of the element "
+ output: '#parent
+ .selector ul li blockquote{ color: red; font-size: 1rem; }
'
+ - is_default: false
+ title: 'white-space: pre-line;'
+ description: "Only new lines are preserved.
Sequences
+ of spaces are combined into one Lines break on new
+ lines, <br>
, but also when reaching the end of the element
+ "
+ output: '#parent
+ .selector ul li blockquote{ color: red; font-size: 1rem; }
'
+- title: width
+ is_shorthand: false
+ description: "Defines the width of the element.
"
+ styles:
+ - "#width-auto{ width:auto;}"
+ - "#width-240px{ width:240px;}"
+ - "#width-50{ width:50%;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'width: auto;'
+ description: "The element will automatically adjust its width
+ to allow its content to be displayed correctly.
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat
+ pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat
+ gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis
+ hendrerit sit amet.
+ - is_default: false
+ title: 'width: 240px;'
+ description: "You can use numeric values like pixels ,
+ (r)em , percentages ...
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat
+ pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat
+ gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis
+ hendrerit sit amet.
+ - is_default: false
+ title: 'width: 50%;'
+ description: "If you use percentages , the value is relative
+ to the container's width.
"
+ output: Lorem
+ ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat
+ pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat
+ gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis
+ hendrerit sit amet.
+- title: will-change
+ is_shorthand: false
+ description: "Defines which properties are expected to change in the future (either
+ through CSS or JavaScript).
"
+ styles:
+ - "#will-change-auto{ will-change:auto;}"
+ - "#will-change-scroll-position{ will-change:scroll-position;}"
+ - "#will-change-contents{ will-change:contents;}"
+ - "#will-change-box-shadow{ will-change:box-shadow;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'will-change: auto;'
+ description: "Doesn't tell the browser to optimize any
+ property.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'will-change: scroll-position;'
+ description: "Tells the browser to optimize for the element's scroll
+ position , as it might change in the future.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'will-change: contents;'
+ description: "Tells the browser to optimize for the element's contents ,
+ as it might change in the future.
"
+ output: Hello
+ world
+ - is_default: false
+ title: 'will-change: box-shadow;'
+ description: "You can specify any other CSS property . For
+ example, this tells the browser to optimize for the element's box-shadow ,
+ as it might change in the future.
"
+ output: Hello
+ world
+- title: word-break
+ is_shorthand: false
+ description: "Defines how words should break when reaching the end of a line.
"
+ styles:
+ - '.word-break { font-family: "Source Code Pro", monospace;width: 18em; }'
+ - "#word-break-normal{ word-break:normal;}"
+ - "#word-break-break-all{ word-break:break-all;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'word-break: normal;'
+ description: "Words with no space will not break. Sequences
+ of uninterrupted characters will be displayed on a single line.
"
+ output: Thequickbrownfoxjumpsoverthelazydog
+ - is_default: false
+ title: 'word-break: break-all;'
+ description: "Words with no space will break as soon as they
+ reach the end of a line.
"
+ output: Thequickbrownfoxjumpsoverthelazydog
+- title: word-spacing
+ is_shorthand: false
+ description: "Defines the spacing between words of a block of text.
"
+ styles:
+ - "#word-spacing-normal{ word-spacing:normal;}"
+ - "#word-spacing-5px{ word-spacing:5px;}"
+ - "#word-spacing-2em{ word-spacing:2em;}"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'word-spacing: normal;'
+ description: "The spacing between the characters is normal .
"
+ output: The
+ quick brown fox jumps over the lazy dog
+ - is_default: false
+ title: 'word-spacing: 5px;'
+ description: "You can use pixel values.
"
+ output: The
+ quick brown fox jumps over the lazy dog
+ - is_default: false
+ title: 'word-spacing: 2em;'
+ description: "You can use em values: this allows the spacing
+ to remain relative to the font-size.
"
+ output: The
+ quick brown fox jumps over the lazy dog
+- title: z-index
+ is_shorthand: false
+ description: "Defines the order of the elements on the z-axis*8.
+ It only works on positioned** elements (anything apart from static
).
"
+ styles:
+ - ".z-index { height: 100px;padding: 0; }"
+ - ".z-index .block { height: 100%;left: 0;position: absolute;width: 25%; }.z-index
+ .block.is-alpha { height: 50%;width: 100%; }.z-index .block.is-pink { height:
+ 60%;left: 20%;top: 20%;width: 60%; }.z-index .block.is-beta { height: 60%;left:
+ 40%;top: 40%;width: 60%; }.z-index .block.is-yellow { left: 70%;width: 20%; }"
+ - "#z-index-1 .block.is-pink { z-index: 1; }"
+ - "#z-index--1 .block.is-pink { z-index: -1; }"
+ actions: []
+ examples:
+ - is_default: true
+ title: 'z-index: auto;'
+ description: "The order is defined by the order in the HTML code :
+ first in the code = behind last in the code = in front
+ "
+ output:
+ - is_default: false
+ title: 'z-index: 1;'
+ description: "The z-index value is relative to the other ones.
+ The target element is move in front of its siblings.
"
+ output:
+ - is_default: false
+ title: 'z-index: -1;'
+ description: "You can use negative values . The target element
+ is move in behind its siblings.
"
+ output:
diff --git a/_includes/lists/main-list.html b/_includes/lists/main-list.html
index c08d28ac..21ab8d26 100644
--- a/_includes/lists/main-list.html
+++ b/_includes/lists/main-list.html
@@ -1,14108 +1,3 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Name Instrument John Lennon Rhythm Guitar Paul McCartney Bass George Harrison Lead Guitar Ringo Starr Drums
-
-
-
-
-
-
-
-
-
-
-
-
Name Instrument John Lennon Rhythm Guitar Paul McCartney Bass George Harrison Lead Guitar Ringo Starr Drums
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Parent container
Natural position
Actual position
-
-
-
-
-
-
-
-
-
-
-
-
Parent container
Natural position
Actual position
-
-
-
-
-
-
-
-
-
-
-
-
Parent container
Natural position
Actual position
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
Float left block
Float right
This is the clear none block . It lives alongside its floating siblings. It takes up the remaining space left in between.
Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
Float left
Tall float right block
This is the clear left element . It comes after the clear left, but remains alongside the float right.
Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
Tall float left block
Float right
This is the clear left element . It comes after the clear right, but remains alongside the float left.
Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
Float left
Float right
This is the clear both element . It comes after both floating elements.
Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Hello world
Foo bar
CSS Reference
-
-
-
-
-
-
-
-
-
-
-
Hello world
Foo bar
CSS Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Hello world
Foo bar
CSS Reference
-
-
-
-
-
-
-
-
-
-
-
Hello world
Foo bar
CSS Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Hello world
Foo bar
CSS Reference
-
-
-
-
-
-
-
-
-
-
-
Hello world
Foo bar
CSS Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Hello world
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Hello world
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Hello world
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Hello world
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Hello world
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Target First child Second child
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Target First child Second child
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Target First child Second child
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
First child Second child
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
First child Second child
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
1. One
2. Two
3. Three
4. Four
-
-
-
-
-
-
-
-
-
-
-
1. One
2. Two
3. Three
4. Four
-
-
-
-
-
-
-
-
-
-
-
1. One
2. Two
3. Three
4. Four
-
-
-
-
-
-
-
-
-
-
-
1. One
2. Two
3. Three
4. Four
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the flex-shrink target
Foo bar
Lorem ipsum
-
-
-
-
-
-
-
-
-
-
-
This is the flex-shrink target
Foo bar
Lorem ipsum
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
1. One
2. Two
3. Three
4. Four
5. Five
6. Six
-
-
-
-
-
-
-
-
-
-
-
1. One
2. Two
3. Three
4. Four
5. Five
6. Six
-
-
-
-
-
-
-
-
-
-
-
1. One
2. Two
3. Three
4. Four
5. Five
6. Six
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit.
Target element
Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit.
Target element
Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit.
Target element
Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Hello world
The quick brown fox jumps over the lazy dog
-
-
-
-
-
-
-
-
-
-
-
Hello world
The quick brown fox jumps over the lazy dog
-
-
-
-
-
-
-
-
-
-
-
Parent container:
18px Font-size: 1.2em =
21.6px Font-size: 1.2em =
25.92px Font-size: 1.2em = 31.104px
-
-
-
-
-
-
-
-
-
-
-
<html>
root element:
18px Font-size: 1.2rem =
21.6px Font-size: 1.2rem =
21.6px Font-size: 1.2rem = 21.6px
-
-
-
-
-
-
-
-
-
-
-
Parent container:
18px Font-size: 90% =
16.2 Font-size: 90% =
14.58px Font-size: 90% = 13.122px
-
-
-
-
-
-
-
-
-
-
-
Parent container:
18px Font-size: smaller
Font-size: smaller
Font-size: smaller
-
-
-
-
-
-
-
-
-
-
-
<html>
root element:
18px Font-size: x-large
Font-size: x-large
Font-size: x-large
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Parent container
Natural position
Actual position
-
-
-
-
-
-
-
-
-
-
-
-
Parent container
Natural position
Actual position
-
-
-
-
-
-
-
-
-
-
-
Parent container
Natural position
Actual position
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus.
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
First item
Target
Third item
-
-
-
-
-
-
-
-
-
-
-
First item
Target width: 200px
Third item
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
First item
Target
Third item
-
-
-
-
-
-
-
-
-
-
-
First item
Target width: 200px
Third item
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum minimus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum minimus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum minimus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Oneorder: 0
Twoorder: 0
Targetorder: 0
Fourorder: 0
-
-
-
-
-
-
-
-
-
-
Oneorder: 0
Twoorder: 0
Targetorder: 1
Fourorder: 0
-
-
-
-
-
-
-
-
-
-
-
Oneorder: 0
Twoorder: 0
Targetorder: -1
Fourorder: 0
-
-
-
-
-
-
-
-
-
-
-
Oneorder: 13
Twoorder: -7
Targetorder: 9
Fourorder: 5
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
First item
Target
Third item
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
First item
Target
Third item
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Hover me
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit.
-
-
-
-
-
-
-
-
-
-
-
Hover me
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Ancestor container
Target element position: static Child element position: absolute right: 5px top: 5px
-
-
-
-
-
-
-
-
-
-
Ancestor container
Target element position: relative Child element position: absolute right: 5px top: 5px
-
-
-
-
-
-
-
-
-
-
-
Ancestor container
Target element position: absolute left: 0 top: 0 Child element right: 5px top: 5px
-
-
-
-
-
-
-
-
-
-
-
Ancestor container
Target element position: fixed right: 0 top: 0 Child element position: absolute right: 5px top: 5px
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Hello world Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Hello world Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Hello world Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Hello world Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Hello world! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Hello world! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Hello world! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Hello world! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Parent container
Natural position
Actual position
-
-
-
-
-
-
-
-
-
-
-
-
Parent container
Natural position
Actual position
-
-
-
-
-
-
-
-
-
-
-
-
Parent container
Natural position
Actual position
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+{% for property in site.data.properties %}
+ {% include property.html %}
+{% endfor %}
diff --git a/_includes/lists/menu-list.html b/_includes/lists/menu-list.html
index 7ac141d0..19e8a7af 100644
--- a/_includes/lists/menu-list.html
+++ b/_includes/lists/menu-list.html
@@ -1,128 +1,3 @@
-
align-content
-
align-items
-
align-self
-
animation-delay
-
animation-direction
-
animation-duration
-
animation-fill-mode
-
animation-iteration-count
-
animation-name
-
animation-play-state
-
animation-timing-function
-
animation
-
background-attachment
-
background-clip
-
background-color
-
background-image
-
background-origin
-
background-position
-
background-repeat
-
background-size
-
background
-
border-bottom-color
-
border-bottom-left-radius
-
border-bottom-right-radius
-
border-bottom-style
-
border-bottom-width
-
border-bottom
-
border-collapse
-
border-color
-
border-left-color
-
border-left-style
-
border-left-width
-
border-left
-
border-radius
-
border-right-color
-
border-right-style
-
border-right-width
-
border-right
-
border-style
-
border-top-color
-
border-top-left-radius
-
border-top-right-radius
-
border-top-style
-
border-top-width
-
border-top
-
border-width
-
border
-
bottom
-
box-shadow
-
box-sizing
-
clear
-
color
-
column-count
-
column-gap
-
column-width
-
content
-
cursor
-
display
-
flex-basis
-
flex-direction
-
flex-flow
-
flex-grow
-
flex-shrink
-
flex-wrap
-
float
-
font-family
-
font-size
-
font-style
-
font-variant
-
font-weight
-
font
-
height
-
justify-content
-
left
-
letter-spacing
-
line-height
-
list-style-image
-
list-style-position
-
list-style-type
-
list-style
-
margin-bottom
-
margin-left
-
margin-right
-
margin-top
-
margin
-
max-height
-
max-width
-
min-height
-
min-width
-
mix-blend-mode
-
opacity
-
order
-
outline-color
-
outline-style
-
outline-width
-
outline
-
overflow-wrap
-
overflow-x
-
overflow-y
-
overflow
-
padding-bottom
-
padding-left
-
padding-right
-
padding-top
-
padding
-
pointer-events
-
position
-
resize
-
text-align
-
text-decoration
-
text-indent
-
text-overflow
-
text-shadow
-
text-transform
-
top
-
transform-origin
-
transform
-
transition-delay
-
transition-duration
-
transition-property
-
transition-timing-function
-
transition
-
white-space
-
width
-
will-change
-
word-break
-
word-spacing
-
z-index
+{% for property in site.data.properties %}
+
{{property.title}}
+{% endfor %}
diff --git a/_includes/property.html b/_includes/property.html
new file mode 100644
index 00000000..e535416f
--- /dev/null
+++ b/_includes/property.html
@@ -0,0 +1,47 @@
+
+
+
+ {% for example in property.examples %}
+
+
+
+
+
+
+
+ {{example.output}}
+
+
+
+ {% endfor %}
+
diff --git a/_layouts/single.html b/_layouts/single.html
index 209b0aef..adc0d2cd 100644
--- a/_layouts/single.html
+++ b/_layouts/single.html
@@ -4,36 +4,37 @@
-
{{page.property_name}} - {{site.title}}
+
{{page.title}} - {{site.title}}
-
+
-
+
-
+
-
+
{% include favicons.html %}
{% include menu.html %}
-
+
View in context
- {{content}}
+ {% assign property = page %}
+ {% include property.html %}
{% include modals/share.html %}
diff --git a/_plugins/data_page_generator.rb b/_plugins/data_page_generator.rb
new file mode 100644
index 00000000..e3d10abf
--- /dev/null
+++ b/_plugins/data_page_generator.rb
@@ -0,0 +1,127 @@
+# Generate pages from individual records in yml files
+# (c) 2014-2016 Adolfo Villafiorita
+# Distributed under the conditions of the MIT License
+
+module Jekyll
+
+ module Sanitizer
+ # strip characters and whitespace to create valid filenames, also lowercase
+ def sanitize_filename(name)
+ if(name.is_a? Integer)
+ return name.to_s
+ end
+ return name.downcase.strip.gsub(' ', '-').gsub(/[^\w.-]/, '')
+ end
+ end
+
+ # this class is used to tell Jekyll to generate a page
+ class DataPage < Page
+ include Sanitizer
+
+ # - site and base are copied from other plugins: to be honest, I am not sure what they do
+ #
+ # - `index_files` specifies if we want to generate named folders (true) or not (false)
+ # - `dir` is the default output directory
+ # - `data` is the data defined in `_data.yml` of the record for which we are generating a page
+ # - `name` is the key in `data` which determines the output filename
+ # - `template` is the name of the template for generating the page
+ # - `extension` is the extension for the generated file
+ def initialize(site, base, index_files, dir, data, name, template, extension)
+ @site = site
+ @base = base
+
+ # @dir is the directory where we want to output the page
+ # @name is the name of the page to generate
+ #
+ # the value of these variables changes according to whether we
+ # want to generate named folders or not
+ filename = sanitize_filename(data[name]).to_s
+ if index_files
+ @dir = dir + (index_files ? "/" + filename + "/" : "")
+ @name = "index" + "." + extension.to_s
+ else
+ @dir = dir
+ @name = filename + "." + extension.to_s
+ end
+
+ self.process(@name)
+ self.read_yaml(File.join(base, '_layouts'), template + ".html")
+ self.data['title'] = data[name]
+ # add all the information defined in _data for the current record to the
+ # current page (so that we can access it with liquid tags)
+ self.data.merge!(data)
+ end
+ end
+
+ class DataPagesGenerator < Generator
+ safe true
+
+ # generate loops over _config.yml/page_gen invoking the DataPage
+ # constructor for each record for which we want to generate a page
+
+ def generate(site)
+ # page_gen_dirs determines whether we want to generate index pages
+ # (name/index.html) or standard files (name.html). This information
+ # is passed to the DataPage constructor, which sets the @dir variable
+ # as required by this directive
+ index_files = site.config['page_gen-dirs'] == true
+
+ # data contains the specification of the data for which we want to generate
+ # the pages (look at the README file for its specification)
+ data = site.config['page_gen']
+ if data
+ data.each do |data_spec|
+ template = data_spec['template'] || data_spec['data']
+ name = data_spec['name']
+ dir = data_spec['dir'] || data_spec['data']
+ extension = data_spec['extension'] || "html"
+
+ if site.layouts.key? template
+ # records is the list of records defined in _data.yml
+ # for which we want to generate different pages
+ records = nil
+ data_spec['data'].split('.').each do |level|
+ if records.nil?
+ records = site.data[level]
+ else
+ records = records[level]
+ end
+ end
+ records.each do |record|
+ site.pages << DataPage.new(site, site.source, index_files, dir, record, name, template, extension)
+ end
+ else
+ puts "error. could not find template #{template}" if not site.layouts.key? template
+ end
+ end
+ end
+ end
+ end
+
+ module DataPageLinkGenerator
+ include Sanitizer
+
+ # use it like this: {{input | datapage_url: dir}}
+ # to generate a link to a data_page.
+ #
+ # the filter is smart enough to generate different link styles
+ # according to the data_page-dirs directive ...
+ #
+ # ... however, the filter is not smart enough to support different
+ # extensions for filenames.
+ #
+ # Thus, if you use the `extension` feature of this plugin, you
+ # need to generate the links by hand
+ def datapage_url(input, dir)
+ @gen_dir = Jekyll.configuration({})['page_gen-dirs']
+ if @gen_dir then
+ dir + "/" + sanitize_filename(input) + "/index.html"
+ else
+ dir + "/" + sanitize_filename(input) + ".html"
+ end
+ end
+ end
+
+end
+
+Liquid::Template.register_filter(Jekyll::DataPageLinkGenerator)
diff --git a/property/align-content/index.html b/property/align-content/index.html
deleted file mode 100644
index e216e4c6..00000000
--- a/property/align-content/index.html
+++ /dev/null
@@ -1,163 +0,0 @@
----
-layout: single
-property_name: align-content
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/align-items/index.html b/property/align-items/index.html
deleted file mode 100644
index 160f580e..00000000
--- a/property/align-items/index.html
+++ /dev/null
@@ -1,145 +0,0 @@
----
-layout: single
-property_name: align-items
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/align-self/index.html b/property/align-self/index.html
deleted file mode 100644
index fec214ae..00000000
--- a/property/align-self/index.html
+++ /dev/null
@@ -1,145 +0,0 @@
----
-layout: single
-property_name: align-self
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/animation-delay/index.html b/property/animation-delay/index.html
deleted file mode 100644
index c1e8c8ed..00000000
--- a/property/animation-delay/index.html
+++ /dev/null
@@ -1,118 +0,0 @@
----
-layout: single
-property_name: animation-delay
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/animation-direction/index.html b/property/animation-direction/index.html
deleted file mode 100644
index 19cf567d..00000000
--- a/property/animation-direction/index.html
+++ /dev/null
@@ -1,118 +0,0 @@
----
-layout: single
-property_name: animation-direction
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/animation-duration/index.html b/property/animation-duration/index.html
deleted file mode 100644
index f260a26a..00000000
--- a/property/animation-duration/index.html
+++ /dev/null
@@ -1,97 +0,0 @@
----
-layout: single
-property_name: animation-duration
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/animation-fill-mode/index.html b/property/animation-fill-mode/index.html
deleted file mode 100644
index 53095c46..00000000
--- a/property/animation-fill-mode/index.html
+++ /dev/null
@@ -1,118 +0,0 @@
----
-layout: single
-property_name: animation-fill-mode
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/animation-iteration-count/index.html b/property/animation-iteration-count/index.html
deleted file mode 100644
index dc3de769..00000000
--- a/property/animation-iteration-count/index.html
+++ /dev/null
@@ -1,97 +0,0 @@
----
-layout: single
-property_name: animation-iteration-count
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/animation-name/index.html b/property/animation-name/index.html
deleted file mode 100644
index eb404f50..00000000
--- a/property/animation-name/index.html
+++ /dev/null
@@ -1,114 +0,0 @@
----
-layout: single
-property_name: animation-name
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/animation-play-state/index.html b/property/animation-play-state/index.html
deleted file mode 100644
index 0335820d..00000000
--- a/property/animation-play-state/index.html
+++ /dev/null
@@ -1,88 +0,0 @@
----
-layout: single
-property_name: animation-play-state
----
-
-
diff --git a/property/animation-timing-function/index.html b/property/animation-timing-function/index.html
deleted file mode 100644
index 2fb7ac0c..00000000
--- a/property/animation-timing-function/index.html
+++ /dev/null
@@ -1,203 +0,0 @@
----
-layout: single
-property_name: animation-timing-function
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/animation/index.html b/property/animation/index.html
deleted file mode 100644
index c84e2175..00000000
--- a/property/animation/index.html
+++ /dev/null
@@ -1,29 +0,0 @@
----
-layout: single
-property_name: animation
----
-
-
diff --git a/property/background-attachment/index.html b/property/background-attachment/index.html
deleted file mode 100644
index d6769da3..00000000
--- a/property/background-attachment/index.html
+++ /dev/null
@@ -1,73 +0,0 @@
----
-layout: single
-property_name: background-attachment
----
-
-
diff --git a/property/background-clip/index.html b/property/background-clip/index.html
deleted file mode 100644
index 85d4000b..00000000
--- a/property/background-clip/index.html
+++ /dev/null
@@ -1,93 +0,0 @@
----
-layout: single
-property_name: background-clip
----
-
-
diff --git a/property/background-color/index.html b/property/background-color/index.html
deleted file mode 100644
index eee2e172..00000000
--- a/property/background-color/index.html
+++ /dev/null
@@ -1,179 +0,0 @@
----
-layout: single
-property_name: background-color
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/background-image/index.html b/property/background-image/index.html
deleted file mode 100644
index 515bbc98..00000000
--- a/property/background-image/index.html
+++ /dev/null
@@ -1,225 +0,0 @@
----
-layout: single
-property_name: background-image
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/background-origin/index.html b/property/background-origin/index.html
deleted file mode 100644
index c17da41e..00000000
--- a/property/background-origin/index.html
+++ /dev/null
@@ -1,94 +0,0 @@
----
-layout: single
-property_name: background-origin
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/background-position/index.html b/property/background-position/index.html
deleted file mode 100644
index 0a76fe37..00000000
--- a/property/background-position/index.html
+++ /dev/null
@@ -1,93 +0,0 @@
----
-layout: single
-property_name: background-position
----
-
-
diff --git a/property/background-repeat/index.html b/property/background-repeat/index.html
deleted file mode 100644
index 24792749..00000000
--- a/property/background-repeat/index.html
+++ /dev/null
@@ -1,114 +0,0 @@
----
-layout: single
-property_name: background-repeat
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/background-size/index.html b/property/background-size/index.html
deleted file mode 100644
index 2f3f33c5..00000000
--- a/property/background-size/index.html
+++ /dev/null
@@ -1,136 +0,0 @@
----
-layout: single
-property_name: background-size
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/background/index.html b/property/background/index.html
deleted file mode 100644
index 5ae208e2..00000000
--- a/property/background/index.html
+++ /dev/null
@@ -1,28 +0,0 @@
----
-layout: single
-property_name: background
----
-
-
diff --git a/property/border-bottom-color/index.html b/property/border-bottom-color/index.html
deleted file mode 100644
index c9911169..00000000
--- a/property/border-bottom-color/index.html
+++ /dev/null
@@ -1,92 +0,0 @@
----
-layout: single
-property_name: border-bottom-color
----
-
-
diff --git a/property/border-bottom-left-radius/index.html b/property/border-bottom-left-radius/index.html
deleted file mode 100644
index b5866104..00000000
--- a/property/border-bottom-left-radius/index.html
+++ /dev/null
@@ -1,114 +0,0 @@
----
-layout: single
-property_name: border-bottom-left-radius
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/border-bottom-right-radius/index.html b/property/border-bottom-right-radius/index.html
deleted file mode 100644
index 7038a163..00000000
--- a/property/border-bottom-right-radius/index.html
+++ /dev/null
@@ -1,114 +0,0 @@
----
-layout: single
-property_name: border-bottom-right-radius
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/border-bottom-style/index.html b/property/border-bottom-style/index.html
deleted file mode 100644
index 3cf66b68..00000000
--- a/property/border-bottom-style/index.html
+++ /dev/null
@@ -1,156 +0,0 @@
----
-layout: single
-property_name: border-bottom-style
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/border-bottom-width/index.html b/property/border-bottom-width/index.html
deleted file mode 100644
index 069d9e62..00000000
--- a/property/border-bottom-width/index.html
+++ /dev/null
@@ -1,72 +0,0 @@
----
-layout: single
-property_name: border-bottom-width
----
-
-
diff --git a/property/border-bottom/index.html b/property/border-bottom/index.html
deleted file mode 100644
index 1afbc049..00000000
--- a/property/border-bottom/index.html
+++ /dev/null
@@ -1,70 +0,0 @@
----
-layout: single
-property_name: border-bottom
----
-
-
diff --git a/property/border-collapse/index.html b/property/border-collapse/index.html
deleted file mode 100644
index 852419f7..00000000
--- a/property/border-collapse/index.html
+++ /dev/null
@@ -1,76 +0,0 @@
----
-layout: single
-property_name: border-collapse
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Name Instrument John Lennon Rhythm Guitar Paul McCartney Bass George Harrison Lead Guitar Ringo Starr Drums
-
-
-
-
-
-
-
-
-
-
-
-
Name Instrument John Lennon Rhythm Guitar Paul McCartney Bass George Harrison Lead Guitar Ringo Starr Drums
-
-
-
-
-
-
-
diff --git a/property/border-color/index.html b/property/border-color/index.html
deleted file mode 100644
index 117679b1..00000000
--- a/property/border-color/index.html
+++ /dev/null
@@ -1,180 +0,0 @@
----
-layout: single
-property_name: border-color
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/border-left-color/index.html b/property/border-left-color/index.html
deleted file mode 100644
index c4abd6c3..00000000
--- a/property/border-left-color/index.html
+++ /dev/null
@@ -1,92 +0,0 @@
----
-layout: single
-property_name: border-left-color
----
-
-
diff --git a/property/border-left-style/index.html b/property/border-left-style/index.html
deleted file mode 100644
index 75f0581c..00000000
--- a/property/border-left-style/index.html
+++ /dev/null
@@ -1,156 +0,0 @@
----
-layout: single
-property_name: border-left-style
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/border-left-width/index.html b/property/border-left-width/index.html
deleted file mode 100644
index 00e1fc19..00000000
--- a/property/border-left-width/index.html
+++ /dev/null
@@ -1,72 +0,0 @@
----
-layout: single
-property_name: border-left-width
----
-
-
diff --git a/property/border-left/index.html b/property/border-left/index.html
deleted file mode 100644
index f65786e4..00000000
--- a/property/border-left/index.html
+++ /dev/null
@@ -1,70 +0,0 @@
----
-layout: single
-property_name: border-left
----
-
-
diff --git a/property/border-radius/index.html b/property/border-radius/index.html
deleted file mode 100644
index 71985b68..00000000
--- a/property/border-radius/index.html
+++ /dev/null
@@ -1,114 +0,0 @@
----
-layout: single
-property_name: border-radius
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/border-right-color/index.html b/property/border-right-color/index.html
deleted file mode 100644
index ca1e0117..00000000
--- a/property/border-right-color/index.html
+++ /dev/null
@@ -1,92 +0,0 @@
----
-layout: single
-property_name: border-right-color
----
-
-
diff --git a/property/border-right-style/index.html b/property/border-right-style/index.html
deleted file mode 100644
index 32a23580..00000000
--- a/property/border-right-style/index.html
+++ /dev/null
@@ -1,156 +0,0 @@
----
-layout: single
-property_name: border-right-style
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/border-right-width/index.html b/property/border-right-width/index.html
deleted file mode 100644
index 475690af..00000000
--- a/property/border-right-width/index.html
+++ /dev/null
@@ -1,72 +0,0 @@
----
-layout: single
-property_name: border-right-width
----
-
-
diff --git a/property/border-right/index.html b/property/border-right/index.html
deleted file mode 100644
index f2f9d605..00000000
--- a/property/border-right/index.html
+++ /dev/null
@@ -1,70 +0,0 @@
----
-layout: single
-property_name: border-right
----
-
-
diff --git a/property/border-style/index.html b/property/border-style/index.html
deleted file mode 100644
index 2d0a4bf5..00000000
--- a/property/border-style/index.html
+++ /dev/null
@@ -1,156 +0,0 @@
----
-layout: single
-property_name: border-style
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/border-top-color/index.html b/property/border-top-color/index.html
deleted file mode 100644
index a81e55f4..00000000
--- a/property/border-top-color/index.html
+++ /dev/null
@@ -1,92 +0,0 @@
----
-layout: single
-property_name: border-top-color
----
-
-
diff --git a/property/border-top-left-radius/index.html b/property/border-top-left-radius/index.html
deleted file mode 100644
index 5fb4258c..00000000
--- a/property/border-top-left-radius/index.html
+++ /dev/null
@@ -1,114 +0,0 @@
----
-layout: single
-property_name: border-top-left-radius
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/border-top-right-radius/index.html b/property/border-top-right-radius/index.html
deleted file mode 100644
index 53bffea9..00000000
--- a/property/border-top-right-radius/index.html
+++ /dev/null
@@ -1,114 +0,0 @@
----
-layout: single
-property_name: border-top-right-radius
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/border-top-style/index.html b/property/border-top-style/index.html
deleted file mode 100644
index 8f54f338..00000000
--- a/property/border-top-style/index.html
+++ /dev/null
@@ -1,156 +0,0 @@
----
-layout: single
-property_name: border-top-style
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/border-top-width/index.html b/property/border-top-width/index.html
deleted file mode 100644
index 88d17bce..00000000
--- a/property/border-top-width/index.html
+++ /dev/null
@@ -1,72 +0,0 @@
----
-layout: single
-property_name: border-top-width
----
-
-
diff --git a/property/border-top/index.html b/property/border-top/index.html
deleted file mode 100644
index 46cc5b35..00000000
--- a/property/border-top/index.html
+++ /dev/null
@@ -1,70 +0,0 @@
----
-layout: single
-property_name: border-top
----
-
-
diff --git a/property/border-width/index.html b/property/border-width/index.html
deleted file mode 100644
index 36130b0f..00000000
--- a/property/border-width/index.html
+++ /dev/null
@@ -1,71 +0,0 @@
----
-layout: single
-property_name: border-width
----
-
-
diff --git a/property/border/index.html b/property/border/index.html
deleted file mode 100644
index 0b045e63..00000000
--- a/property/border/index.html
+++ /dev/null
@@ -1,70 +0,0 @@
----
-layout: single
-property_name: border
----
-
-
diff --git a/property/bottom/index.html b/property/bottom/index.html
deleted file mode 100644
index da12bf16..00000000
--- a/property/bottom/index.html
+++ /dev/null
@@ -1,97 +0,0 @@
----
-layout: single
-property_name: bottom
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Parent container
Natural position
Actual position
-
-
-
-
-
-
-
-
-
-
-
-
Parent container
Natural position
Actual position
-
-
-
-
-
-
-
-
-
-
-
-
Parent container
Natural position
Actual position
-
-
-
-
-
-
-
diff --git a/property/box-shadow/index.html b/property/box-shadow/index.html
deleted file mode 100644
index 8777914d..00000000
--- a/property/box-shadow/index.html
+++ /dev/null
@@ -1,139 +0,0 @@
----
-layout: single
-property_name: box-shadow
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/box-sizing/index.html b/property/box-sizing/index.html
deleted file mode 100644
index 7669e357..00000000
--- a/property/box-sizing/index.html
+++ /dev/null
@@ -1,80 +0,0 @@
----
-layout: single
-property_name: box-sizing
----
-
-
diff --git a/property/clear/index.html b/property/clear/index.html
deleted file mode 100644
index d96fd72c..00000000
--- a/property/clear/index.html
+++ /dev/null
@@ -1,117 +0,0 @@
----
-layout: single
-property_name: clear
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
Float left block
Float right
This is the clear none block . It lives alongside its floating siblings. It takes up the remaining space left in between.
Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
Float left
Tall float right block
This is the clear left element . It comes after the clear left, but remains alongside the float right.
Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
Tall float left block
Float right
This is the clear left element . It comes after the clear right, but remains alongside the float left.
Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
Float left
Float right
This is the clear both element . It comes after both floating elements.
Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
diff --git a/property/color/index.html b/property/color/index.html
deleted file mode 100644
index 6bd2fa38..00000000
--- a/property/color/index.html
+++ /dev/null
@@ -1,180 +0,0 @@
----
-layout: single
-property_name: color
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/column-count/index.html b/property/column-count/index.html
deleted file mode 100644
index 80052a51..00000000
--- a/property/column-count/index.html
+++ /dev/null
@@ -1,72 +0,0 @@
----
-layout: single
-property_name: column-count
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Hello world
Foo bar
CSS Reference
-
-
-
-
-
-
-
-
-
-
-
Hello world
Foo bar
CSS Reference
-
-
-
-
-
-
-
diff --git a/property/column-gap/index.html b/property/column-gap/index.html
deleted file mode 100644
index c502a48d..00000000
--- a/property/column-gap/index.html
+++ /dev/null
@@ -1,74 +0,0 @@
----
-layout: single
-property_name: column-gap
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Hello world
Foo bar
CSS Reference
-
-
-
-
-
-
-
-
-
-
-
Hello world
Foo bar
CSS Reference
-
-
-
-
-
-
-
diff --git a/property/column-width/index.html b/property/column-width/index.html
deleted file mode 100644
index 69249f98..00000000
--- a/property/column-width/index.html
+++ /dev/null
@@ -1,73 +0,0 @@
----
-layout: single
-property_name: column-width
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Hello world
Foo bar
CSS Reference
-
-
-
-
-
-
-
-
-
-
-
Hello world
Foo bar
CSS Reference
-
-
-
-
-
-
-
diff --git a/property/content/index.html b/property/content/index.html
deleted file mode 100644
index 4cc5fb23..00000000
--- a/property/content/index.html
+++ /dev/null
@@ -1,129 +0,0 @@
----
-layout: single
-property_name: content
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/cursor/index.html b/property/cursor/index.html
deleted file mode 100644
index 987b5c66..00000000
--- a/property/cursor/index.html
+++ /dev/null
@@ -1,343 +0,0 @@
----
-layout: single
-property_name: cursor
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/display/index.html b/property/display/index.html
deleted file mode 100644
index f46903ca..00000000
--- a/property/display/index.html
+++ /dev/null
@@ -1,252 +0,0 @@
----
-layout: single
-property_name: display
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Hello world
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Hello world
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Hello world
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Hello world
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Hello world
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Target First child Second child
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Target First child Second child
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Target First child Second child
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
First child Second child
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
First child Second child
Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
diff --git a/property/flex-basis/index.html b/property/flex-basis/index.html
deleted file mode 100644
index c583ac3b..00000000
--- a/property/flex-basis/index.html
+++ /dev/null
@@ -1,74 +0,0 @@
----
-layout: single
-property_name: flex-basis
----
-
-
diff --git a/property/flex-direction/index.html b/property/flex-direction/index.html
deleted file mode 100644
index 7f4c83e5..00000000
--- a/property/flex-direction/index.html
+++ /dev/null
@@ -1,114 +0,0 @@
----
-layout: single
-property_name: flex-direction
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
1. One
2. Two
3. Three
4. Four
-
-
-
-
-
-
-
-
-
-
-
1. One
2. Two
3. Three
4. Four
-
-
-
-
-
-
-
-
-
-
-
1. One
2. Two
3. Three
4. Four
-
-
-
-
-
-
-
-
-
-
-
1. One
2. Two
3. Three
4. Four
-
-
-
-
-
-
diff --git a/property/flex-flow/index.html b/property/flex-flow/index.html
deleted file mode 100644
index 149033ef..00000000
--- a/property/flex-flow/index.html
+++ /dev/null
@@ -1,28 +0,0 @@
----
-layout: single
-property_name: flex-flow
----
-
-
diff --git a/property/flex-grow/index.html b/property/flex-grow/index.html
deleted file mode 100644
index 8b65aa8c..00000000
--- a/property/flex-grow/index.html
+++ /dev/null
@@ -1,96 +0,0 @@
----
-layout: single
-property_name: flex-grow
----
-
-
diff --git a/property/flex-shrink/index.html b/property/flex-shrink/index.html
deleted file mode 100644
index f3a6b7b6..00000000
--- a/property/flex-shrink/index.html
+++ /dev/null
@@ -1,98 +0,0 @@
----
-layout: single
-property_name: flex-shrink
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is the flex-shrink target
Foo bar
Lorem ipsum
-
-
-
-
-
-
-
-
-
-
-
This is the flex-shrink target
Foo bar
Lorem ipsum
-
-
-
-
-
-
-
-
diff --git a/property/flex-wrap/index.html b/property/flex-wrap/index.html
deleted file mode 100644
index 619c65cc..00000000
--- a/property/flex-wrap/index.html
+++ /dev/null
@@ -1,93 +0,0 @@
----
-layout: single
-property_name: flex-wrap
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
1. One
2. Two
3. Three
4. Four
5. Five
6. Six
-
-
-
-
-
-
-
-
-
-
-
1. One
2. Two
3. Three
4. Four
5. Five
6. Six
-
-
-
-
-
-
-
-
-
-
-
1. One
2. Two
3. Three
4. Four
5. Five
6. Six
-
-
-
-
-
-
diff --git a/property/float/index.html b/property/float/index.html
deleted file mode 100644
index 22970967..00000000
--- a/property/float/index.html
+++ /dev/null
@@ -1,92 +0,0 @@
----
-layout: single
-property_name: float
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit.
Target element
Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit.
Target element
Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit.
Target element
Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
diff --git a/property/font-family/index.html b/property/font-family/index.html
deleted file mode 100644
index 8d86cbb3..00000000
--- a/property/font-family/index.html
+++ /dev/null
@@ -1,157 +0,0 @@
----
-layout: single
-property_name: font-family
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/font-size/index.html b/property/font-size/index.html
deleted file mode 100644
index 533f0984..00000000
--- a/property/font-size/index.html
+++ /dev/null
@@ -1,182 +0,0 @@
----
-layout: single
-property_name: font-size
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Hello world
The quick brown fox jumps over the lazy dog
-
-
-
-
-
-
-
-
-
-
-
Hello world
The quick brown fox jumps over the lazy dog
-
-
-
-
-
-
-
-
-
-
-
Parent container:
18px Font-size: 1.2em =
21.6px Font-size: 1.2em =
25.92px Font-size: 1.2em = 31.104px
-
-
-
-
-
-
-
-
-
-
-
<html>
root element:
18px Font-size: 1.2rem =
21.6px Font-size: 1.2rem =
21.6px Font-size: 1.2rem = 21.6px
-
-
-
-
-
-
-
-
-
-
-
Parent container:
18px Font-size: 90% =
16.2 Font-size: 90% =
14.58px Font-size: 90% = 13.122px
-
-
-
-
-
-
-
-
-
-
-
Parent container:
18px Font-size: smaller
Font-size: smaller
Font-size: smaller
-
-
-
-
-
-
-
-
-
-
-
<html>
root element:
18px Font-size: x-large
Font-size: x-large
Font-size: x-large
-
-
-
-
-
-
diff --git a/property/font-style/index.html b/property/font-style/index.html
deleted file mode 100644
index 15082076..00000000
--- a/property/font-style/index.html
+++ /dev/null
@@ -1,93 +0,0 @@
----
-layout: single
-property_name: font-style
----
-
-
diff --git a/property/font-variant/index.html b/property/font-variant/index.html
deleted file mode 100644
index 72f3207e..00000000
--- a/property/font-variant/index.html
+++ /dev/null
@@ -1,72 +0,0 @@
----
-layout: single
-property_name: font-variant
----
-
-
diff --git a/property/font-weight/index.html b/property/font-weight/index.html
deleted file mode 100644
index c598236d..00000000
--- a/property/font-weight/index.html
+++ /dev/null
@@ -1,115 +0,0 @@
----
-layout: single
-property_name: font-weight
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/font/index.html b/property/font/index.html
deleted file mode 100644
index f0f17be8..00000000
--- a/property/font/index.html
+++ /dev/null
@@ -1,28 +0,0 @@
----
-layout: single
-property_name: font
----
-
-
diff --git a/property/height/index.html b/property/height/index.html
deleted file mode 100644
index 3ddf121f..00000000
--- a/property/height/index.html
+++ /dev/null
@@ -1,72 +0,0 @@
----
-layout: single
-property_name: height
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
diff --git a/property/justify-content/index.html b/property/justify-content/index.html
deleted file mode 100644
index 60a2ec03..00000000
--- a/property/justify-content/index.html
+++ /dev/null
@@ -1,135 +0,0 @@
----
-layout: single
-property_name: justify-content
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/left/index.html b/property/left/index.html
deleted file mode 100644
index bb84e731..00000000
--- a/property/left/index.html
+++ /dev/null
@@ -1,95 +0,0 @@
----
-layout: single
-property_name: left
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Parent container
Natural position
Actual position
-
-
-
-
-
-
-
-
-
-
-
-
Parent container
Natural position
Actual position
-
-
-
-
-
-
-
-
-
-
-
Parent container
Natural position
Actual position
-
-
-
-
-
-
diff --git a/property/letter-spacing/index.html b/property/letter-spacing/index.html
deleted file mode 100644
index fe92ebd9..00000000
--- a/property/letter-spacing/index.html
+++ /dev/null
@@ -1,92 +0,0 @@
----
-layout: single
-property_name: letter-spacing
----
-
-
diff --git a/property/line-height/index.html b/property/line-height/index.html
deleted file mode 100644
index e27fcf8d..00000000
--- a/property/line-height/index.html
+++ /dev/null
@@ -1,117 +0,0 @@
----
-layout: single
-property_name: line-height
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
diff --git a/property/list-style-image/index.html b/property/list-style-image/index.html
deleted file mode 100644
index dcba1e97..00000000
--- a/property/list-style-image/index.html
+++ /dev/null
@@ -1,73 +0,0 @@
----
-layout: single
-property_name: list-style-image
----
-
-
diff --git a/property/list-style-position/index.html b/property/list-style-position/index.html
deleted file mode 100644
index 7059e3d7..00000000
--- a/property/list-style-position/index.html
+++ /dev/null
@@ -1,76 +0,0 @@
----
-layout: single
-property_name: list-style-position
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus.
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus.
-
-
-
-
-
-
-
diff --git a/property/list-style-type/index.html b/property/list-style-type/index.html
deleted file mode 100644
index 3a5d6e0c..00000000
--- a/property/list-style-type/index.html
+++ /dev/null
@@ -1,140 +0,0 @@
----
-layout: single
-property_name: list-style-type
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/list-style/index.html b/property/list-style/index.html
deleted file mode 100644
index 553b38ec..00000000
--- a/property/list-style/index.html
+++ /dev/null
@@ -1,28 +0,0 @@
----
-layout: single
-property_name: list-style
----
-
-
diff --git a/property/margin-bottom/index.html b/property/margin-bottom/index.html
deleted file mode 100644
index f3ea5ba0..00000000
--- a/property/margin-bottom/index.html
+++ /dev/null
@@ -1,116 +0,0 @@
----
-layout: single
-property_name: margin-bottom
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/margin-left/index.html b/property/margin-left/index.html
deleted file mode 100644
index 9c426e6b..00000000
--- a/property/margin-left/index.html
+++ /dev/null
@@ -1,138 +0,0 @@
----
-layout: single
-property_name: margin-left
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
First item
Target
Third item
-
-
-
-
-
-
-
-
-
-
-
First item
Target width: 200px
Third item
-
-
-
-
-
-
diff --git a/property/margin-right/index.html b/property/margin-right/index.html
deleted file mode 100644
index 73e52290..00000000
--- a/property/margin-right/index.html
+++ /dev/null
@@ -1,138 +0,0 @@
----
-layout: single
-property_name: margin-right
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
First item
Target
Third item
-
-
-
-
-
-
-
-
-
-
-
First item
Target width: 200px
Third item
-
-
-
-
-
-
diff --git a/property/margin-top/index.html b/property/margin-top/index.html
deleted file mode 100644
index 1c07bb3a..00000000
--- a/property/margin-top/index.html
+++ /dev/null
@@ -1,116 +0,0 @@
----
-layout: single
-property_name: margin-top
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/margin/index.html b/property/margin/index.html
deleted file mode 100644
index cc7960c4..00000000
--- a/property/margin/index.html
+++ /dev/null
@@ -1,141 +0,0 @@
----
-layout: single
-property_name: margin
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/max-height/index.html b/property/max-height/index.html
deleted file mode 100644
index 4811a454..00000000
--- a/property/max-height/index.html
+++ /dev/null
@@ -1,92 +0,0 @@
----
-layout: single
-property_name: max-height
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
diff --git a/property/max-width/index.html b/property/max-width/index.html
deleted file mode 100644
index 1e1fcb52..00000000
--- a/property/max-width/index.html
+++ /dev/null
@@ -1,91 +0,0 @@
----
-layout: single
-property_name: max-width
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
diff --git a/property/min-height/index.html b/property/min-height/index.html
deleted file mode 100644
index a0c52926..00000000
--- a/property/min-height/index.html
+++ /dev/null
@@ -1,93 +0,0 @@
----
-layout: single
-property_name: min-height
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum minimus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum minimus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum minimus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
diff --git a/property/min-width/index.html b/property/min-width/index.html
deleted file mode 100644
index cb4be730..00000000
--- a/property/min-width/index.html
+++ /dev/null
@@ -1,93 +0,0 @@
----
-layout: single
-property_name: min-width
----
-
-
diff --git a/property/mix-blend-mode/index.html b/property/mix-blend-mode/index.html
deleted file mode 100644
index b879a167..00000000
--- a/property/mix-blend-mode/index.html
+++ /dev/null
@@ -1,365 +0,0 @@
----
-layout: single
-property_name: mix-blend-mode
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
-
-
-
-
-
Hello world
Hello world
Hello world
-
-
-
-
-
-
diff --git a/property/opacity/index.html b/property/opacity/index.html
deleted file mode 100644
index f3ee1756..00000000
--- a/property/opacity/index.html
+++ /dev/null
@@ -1,92 +0,0 @@
----
-layout: single
-property_name: opacity
----
-
-
diff --git a/property/order/index.html b/property/order/index.html
deleted file mode 100644
index db19bbaf..00000000
--- a/property/order/index.html
+++ /dev/null
@@ -1,114 +0,0 @@
----
-layout: single
-property_name: order
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Oneorder: 0
Twoorder: 0
Targetorder: 0
Fourorder: 0
-
-
-
-
-
-
-
-
-
-
Oneorder: 0
Twoorder: 0
Targetorder: 1
Fourorder: 0
-
-
-
-
-
-
-
-
-
-
-
Oneorder: 0
Twoorder: 0
Targetorder: -1
Fourorder: 0
-
-
-
-
-
-
-
-
-
-
-
Oneorder: 13
Twoorder: -7
Targetorder: 9
Fourorder: 5
-
-
-
-
-
-
diff --git a/property/outline-color/index.html b/property/outline-color/index.html
deleted file mode 100644
index 183c5da1..00000000
--- a/property/outline-color/index.html
+++ /dev/null
@@ -1,180 +0,0 @@
----
-layout: single
-property_name: outline-color
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/outline-style/index.html b/property/outline-style/index.html
deleted file mode 100644
index fa95d660..00000000
--- a/property/outline-style/index.html
+++ /dev/null
@@ -1,156 +0,0 @@
----
-layout: single
-property_name: outline-style
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/outline-width/index.html b/property/outline-width/index.html
deleted file mode 100644
index 045519e9..00000000
--- a/property/outline-width/index.html
+++ /dev/null
@@ -1,72 +0,0 @@
----
-layout: single
-property_name: outline-width
----
-
-
diff --git a/property/outline/index.html b/property/outline/index.html
deleted file mode 100644
index 5f258566..00000000
--- a/property/outline/index.html
+++ /dev/null
@@ -1,70 +0,0 @@
----
-layout: single
-property_name: outline
----
-
-
diff --git a/property/overflow-wrap/index.html b/property/overflow-wrap/index.html
deleted file mode 100644
index ea362e62..00000000
--- a/property/overflow-wrap/index.html
+++ /dev/null
@@ -1,72 +0,0 @@
----
-layout: single
-property_name: overflow-wrap
----
-
-
diff --git a/property/overflow-x/index.html b/property/overflow-x/index.html
deleted file mode 100644
index fb140b38..00000000
--- a/property/overflow-x/index.html
+++ /dev/null
@@ -1,114 +0,0 @@
----
-layout: single
-property_name: overflow-x
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
-
-
-
-
-
-
diff --git a/property/overflow-y/index.html b/property/overflow-y/index.html
deleted file mode 100644
index f91d4c6c..00000000
--- a/property/overflow-y/index.html
+++ /dev/null
@@ -1,114 +0,0 @@
----
-layout: single
-property_name: overflow-y
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
diff --git a/property/overflow/index.html b/property/overflow/index.html
deleted file mode 100644
index ec16e709..00000000
--- a/property/overflow/index.html
+++ /dev/null
@@ -1,115 +0,0 @@
----
-layout: single
-property_name: overflow
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat.
-
-
-
-
-
-
diff --git a/property/padding-bottom/index.html b/property/padding-bottom/index.html
deleted file mode 100644
index 88607279..00000000
--- a/property/padding-bottom/index.html
+++ /dev/null
@@ -1,116 +0,0 @@
----
-layout: single
-property_name: padding-bottom
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
First item
Target
Third item
-
-
-
-
-
-
diff --git a/property/padding-left/index.html b/property/padding-left/index.html
deleted file mode 100644
index 9e9bb1f8..00000000
--- a/property/padding-left/index.html
+++ /dev/null
@@ -1,116 +0,0 @@
----
-layout: single
-property_name: padding-left
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/padding-right/index.html b/property/padding-right/index.html
deleted file mode 100644
index 3a3ad707..00000000
--- a/property/padding-right/index.html
+++ /dev/null
@@ -1,116 +0,0 @@
----
-layout: single
-property_name: padding-right
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/padding-top/index.html b/property/padding-top/index.html
deleted file mode 100644
index 1e07e4ab..00000000
--- a/property/padding-top/index.html
+++ /dev/null
@@ -1,116 +0,0 @@
----
-layout: single
-property_name: padding-top
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
First item
Target
Third item
-
-
-
-
-
-
diff --git a/property/padding/index.html b/property/padding/index.html
deleted file mode 100644
index a562e3a4..00000000
--- a/property/padding/index.html
+++ /dev/null
@@ -1,141 +0,0 @@
----
-layout: single
-property_name: padding
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/pointer-events/index.html b/property/pointer-events/index.html
deleted file mode 100644
index 9aa7ffd1..00000000
--- a/property/pointer-events/index.html
+++ /dev/null
@@ -1,73 +0,0 @@
----
-layout: single
-property_name: pointer-events
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Hover me
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit.
-
-
-
-
-
-
-
-
-
-
-
Hover me
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit.
-
-
-
-
-
-
-
diff --git a/property/position/index.html b/property/position/index.html
deleted file mode 100644
index 037be33a..00000000
--- a/property/position/index.html
+++ /dev/null
@@ -1,126 +0,0 @@
----
-layout: single
-property_name: position
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Ancestor container
Target element position: static Child element position: absolute right: 5px top: 5px
-
-
-
-
-
-
-
-
-
-
Ancestor container
Target element position: relative Child element position: absolute right: 5px top: 5px
-
-
-
-
-
-
-
-
-
-
-
Ancestor container
Target element position: absolute left: 0 top: 0 Child element right: 5px top: 5px
-
-
-
-
-
-
-
-
-
-
-
Ancestor container
Target element position: fixed right: 0 top: 0 Child element position: absolute right: 5px top: 5px
-
-
-
-
-
-
-
diff --git a/property/resize/index.html b/property/resize/index.html
deleted file mode 100644
index 7609e579..00000000
--- a/property/resize/index.html
+++ /dev/null
@@ -1,118 +0,0 @@
----
-layout: single
-property_name: resize
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/text-align/index.html b/property/text-align/index.html
deleted file mode 100644
index f316e932..00000000
--- a/property/text-align/index.html
+++ /dev/null
@@ -1,112 +0,0 @@
----
-layout: single
-property_name: text-align
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Hello world Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Hello world Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Hello world Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
-
-
-
-
-
Hello world Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut.
-
-
-
-
-
-
diff --git a/property/text-decoration/index.html b/property/text-decoration/index.html
deleted file mode 100644
index ac7781a7..00000000
--- a/property/text-decoration/index.html
+++ /dev/null
@@ -1,71 +0,0 @@
----
-layout: single
-property_name: text-decoration
----
-
-
diff --git a/property/text-indent/index.html b/property/text-indent/index.html
deleted file mode 100644
index 06365255..00000000
--- a/property/text-indent/index.html
+++ /dev/null
@@ -1,93 +0,0 @@
----
-layout: single
-property_name: text-indent
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
diff --git a/property/text-overflow/index.html b/property/text-overflow/index.html
deleted file mode 100644
index 72129312..00000000
--- a/property/text-overflow/index.html
+++ /dev/null
@@ -1,75 +0,0 @@
----
-layout: single
-property_name: text-overflow
----
-
-
diff --git a/property/text-shadow/index.html b/property/text-shadow/index.html
deleted file mode 100644
index 6a6709c1..00000000
--- a/property/text-shadow/index.html
+++ /dev/null
@@ -1,116 +0,0 @@
----
-layout: single
-property_name: text-shadow
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
diff --git a/property/text-transform/index.html b/property/text-transform/index.html
deleted file mode 100644
index aebb218b..00000000
--- a/property/text-transform/index.html
+++ /dev/null
@@ -1,113 +0,0 @@
----
-layout: single
-property_name: text-transform
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Hello world! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Hello world! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Hello world! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Hello world! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
diff --git a/property/top/index.html b/property/top/index.html
deleted file mode 100644
index ba22c1a4..00000000
--- a/property/top/index.html
+++ /dev/null
@@ -1,97 +0,0 @@
----
-layout: single
-property_name: top
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Parent container
Natural position
Actual position
-
-
-
-
-
-
-
-
-
-
-
-
Parent container
Natural position
Actual position
-
-
-
-
-
-
-
-
-
-
-
-
Parent container
Natural position
Actual position
-
-
-
-
-
-
-
diff --git a/property/transform-origin/index.html b/property/transform-origin/index.html
deleted file mode 100644
index b2fe6346..00000000
--- a/property/transform-origin/index.html
+++ /dev/null
@@ -1,122 +0,0 @@
----
-layout: single
-property_name: transform-origin
----
-
-
diff --git a/property/transform/index.html b/property/transform/index.html
deleted file mode 100644
index 0e8fc44e..00000000
--- a/property/transform/index.html
+++ /dev/null
@@ -1,330 +0,0 @@
----
-layout: single
-property_name: transform
----
-
-
diff --git a/property/transition-delay/index.html b/property/transition-delay/index.html
deleted file mode 100644
index a22f5667..00000000
--- a/property/transition-delay/index.html
+++ /dev/null
@@ -1,115 +0,0 @@
----
-layout: single
-property_name: transition-delay
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/transition-duration/index.html b/property/transition-duration/index.html
deleted file mode 100644
index bf93a727..00000000
--- a/property/transition-duration/index.html
+++ /dev/null
@@ -1,95 +0,0 @@
----
-layout: single
-property_name: transition-duration
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/transition-property/index.html b/property/transition-property/index.html
deleted file mode 100644
index 1c42eb93..00000000
--- a/property/transition-property/index.html
+++ /dev/null
@@ -1,137 +0,0 @@
----
-layout: single
-property_name: transition-property
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/transition-timing-function/index.html b/property/transition-timing-function/index.html
deleted file mode 100644
index ac27cf05..00000000
--- a/property/transition-timing-function/index.html
+++ /dev/null
@@ -1,201 +0,0 @@
----
-layout: single
-property_name: transition-timing-function
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/transition/index.html b/property/transition/index.html
deleted file mode 100644
index 82909e7d..00000000
--- a/property/transition/index.html
+++ /dev/null
@@ -1,132 +0,0 @@
----
-layout: single
-property_name: transition
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/white-space/index.html b/property/white-space/index.html
deleted file mode 100644
index 33f1fe14..00000000
--- a/property/white-space/index.html
+++ /dev/null
@@ -1,162 +0,0 @@
----
-layout: single
-property_name: white-space
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/property/width/index.html b/property/width/index.html
deleted file mode 100644
index 7c023a74..00000000
--- a/property/width/index.html
+++ /dev/null
@@ -1,92 +0,0 @@
----
-layout: single
-property_name: width
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
-
-
-
-
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet.
-
-
-
-
-
-
diff --git a/property/will-change/index.html b/property/will-change/index.html
deleted file mode 100644
index 07e97f90..00000000
--- a/property/will-change/index.html
+++ /dev/null
@@ -1,113 +0,0 @@
----
-layout: single
-property_name: will-change
----
-
-
diff --git a/property/word-break/index.html b/property/word-break/index.html
deleted file mode 100644
index 629f443f..00000000
--- a/property/word-break/index.html
+++ /dev/null
@@ -1,72 +0,0 @@
----
-layout: single
-property_name: word-break
----
-
-
diff --git a/property/word-spacing/index.html b/property/word-spacing/index.html
deleted file mode 100644
index 4f36edb0..00000000
--- a/property/word-spacing/index.html
+++ /dev/null
@@ -1,92 +0,0 @@
----
-layout: single
-property_name: word-spacing
----
-
-
diff --git a/property/z-index/index.html b/property/z-index/index.html
deleted file mode 100644
index 509c3f20..00000000
--- a/property/z-index/index.html
+++ /dev/null
@@ -1,97 +0,0 @@
----
-layout: single
-property_name: z-index
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-