Travis build: 407

This commit is contained in:
30secondsofcode
2019-08-26 10:03:49 +00:00
parent 2776b342dd
commit 983bc086c1
57 changed files with 376 additions and 873 deletions

View File

@ -55,6 +55,3 @@ Note: `1rem` is usually `16px`.
#### Browser support
- https://caniuse.com/#feat=css-animation

View File

@ -41,6 +41,3 @@ html {
#### Browser support
- https://caniuse.com/#feat=css3-boxsizing

View File

@ -27,6 +27,3 @@ The function calc() allows to define CSS values with the use of mathematical exp
#### Browser support
- https://caniuse.com/#feat=calc

View File

@ -26,6 +26,3 @@ Creates a circle shape with pure CSS.
#### Browser support
- https://caniuse.com/#feat=border-radius

View File

@ -36,6 +36,3 @@ Ensures that an element self-clears its children.
#### Browser support
<span class="snippet__support-note">⚠️ For this snippet to work properly you need to ensure that there are no non-floating children in the container and that there are no tall floats before the clearfixed container but in the same formatting context (e.g. floated columns).</span>

View File

@ -33,6 +33,3 @@ Given an element of variable width, it will ensure its height remains proportion
- This method also allows content to be placed inside the element normally.
#### Browser support

View File

@ -44,6 +44,3 @@ li::before {
#### Browser support
- https://caniuse.com/#feat=css-counters

View File

@ -52,6 +52,3 @@ There are many other pseudo-elements that you can use to style scrollbars. For m
<span class="snippet__support-note">⚠️ Scrollbar styling doesn't appear to be on any standards track.</span>
- https://caniuse.com/#feat=css-scrollbar

View File

@ -30,6 +30,3 @@ Changes the styling of text selection.
in any specification.</span>
- https://caniuse.com/#feat=css-selection

View File

@ -35,6 +35,3 @@ CSS variables that contain specific values to be reused throughout a document.
#### Browser support
- https://caniuse.com/#feat=css-variables

View File

@ -27,6 +27,3 @@ Makes the content unselectable.
<span class="snippet__support-note">⚠️ This is not a secure method to prevent users from copying content.</span>
- https://caniuse.com/#feat=user-select-none

View File

@ -44,6 +44,3 @@ Vertically and horizontally centers a child element within its parent element us
#### Browser support
- https://caniuse.com/#search=display%3A%20table

View File

@ -39,6 +39,3 @@ Creates a donut spinner that can be used to indicate the loading of content.
- https://caniuse.com/#feat=css-animation
- https://caniuse.com/#feat=transforms2d

View File

@ -48,6 +48,3 @@ Creates a shadow similar to `box-shadow` but based on the colors of the element
<span class="snippet__support-note">⚠️ Requires prefixes for full support.</span>
- https://caniuse.com/#feat=css-filters

View File

@ -54,12 +54,9 @@ powerful than the built-in `ease`, `ease-in`, `ease-out` and `ease-in-out`.
#### Explanation
- The variables are defined globally within the `:root` CSS pseudo-class which matches the root element of a tree representing the document.
- The variables are defined globally within the `:root` CSS pseudo-class which matches the root element of a tree representing the document.
- In HTML, `:root` represents the `<html>` element and is identical to the selector `html`, except that its specificity is higher.
#### Browser support
- https://caniuse.com/#feat=css-variables

View File

@ -27,6 +27,3 @@ Creates an effect where text appears to be "etched" or engraved into the backgro
#### Browser support
- https://caniuse.com/#feat=css-textshadow

View File

@ -32,6 +32,3 @@ Evenly distributes child elements within a parent element.
<span class="snippet__support-note">⚠️ Needs prefixes for full support.</span>
- https://caniuse.com/#feat=flexbox

View File

@ -29,6 +29,3 @@ Horizontally and vertically centers a child element within a parent element usin
<span class="snippet__support-note">⚠️ Needs prefixes for full support.</span>
- https://caniuse.com/#feat=flexbox

View File

@ -41,6 +41,3 @@ form:focus-within {
If no link is provided, it defaults to 99+%. -->
- https://caniuse.com/#feat=css-focus-within

View File

@ -54,6 +54,3 @@ The :fullscreen CSS pseudo-class represents an element that's displayed when the
- https://developer.mozilla.org/en-US/docs/Web/CSS/:fullscreen
- https://caniuse.com/#feat=fullscreen

View File

@ -37,6 +37,3 @@ p {
#### Browser support
- https://caniuse.com/#feat=inline-block

View File

@ -28,6 +28,3 @@ Gives text a gradient color.
<span class="snippet__support-note">⚠️ Uses non-standard properties.</span>
- https://caniuse.com/#feat=text-stroke

View File

@ -27,6 +27,3 @@ Horizontally and vertically centers a child element within a parent element usin
#### Browser support
- https://caniuse.com/#feat=css-grid

View File

@ -49,6 +49,3 @@ very sharp and crisp.
<hr>
\*Chrome does not support subpixel values on `border`. Safari does not support subpixel values on `box-shadow`. Firefox supports subpixel values on both.

View File

@ -36,7 +36,9 @@ el.style.setProperty('--max-height', height + 'px')
2. `overflow: hidden` prevents the contents of the hidden element from overflowing its container.
3. `max-height: 0` specifies that the element has no height initially.
4. `.target:hover > .el` specifies that when the parent is hovered over, target a child `.el` within it and use the `--max-height` variable which was defined by JavaScript.
---
1. `el.scrollHeight` is the height of the element including overflow, which will change dynamically based on the content of the element.
2. `el.style.setProperty(...)` sets the `--max-height` CSS variable which is used to specify the `max-height` of the element the target is hovered over, allowing it to transition smoothly from 0 to auto.
@ -50,6 +52,3 @@ el.style.setProperty('--max-height', height + 'px')
- https://caniuse.com/#feat=css-variables
- https://caniuse.com/#feat=css-transitions

View File

@ -41,6 +41,3 @@ Creates a shadow box around the text when it is hovered.
- https://caniuse.com/#feat=transforms3d
- https://caniuse.com/#feat=css-transitions

View File

@ -52,6 +52,3 @@ Creates an animated underline effect when the text is hovered over.
- https://caniuse.com/#feat=transforms2d
- https://caniuse.com/#feat=css-transitions

View File

@ -67,6 +67,3 @@ btn.onmousemove = function(e) {
<span class="snippet__support-note">⚠️ Requires JavaScript.</span>
- https://caniuse.com/#feat=css-variables

View File

@ -41,6 +41,3 @@ li:not(:last-child) {
#### Browser support
- https://caniuse.com/#feat=css-sel3

View File

@ -39,6 +39,3 @@ A bulletproof way to completely hide an element visually and positionally in the
(Although `clip` technically has been depreciated, the newer `clip-path` currently has very limited browser support.)
- https://caniuse.com/#search=clip

View File

@ -60,6 +60,3 @@ Adds a fading gradient to an overflowing element to better indicate there is mor
#### Browser support
- https://caniuse.com/#feat=css-gradients

View File

@ -42,6 +42,3 @@ Reveals an interactive popout menu on hover and focus.
7. `.reference:focus-within > .popout-menu` ensures that the popout is shown when the focus is _within_ the reference.
#### Browser support

View File

@ -40,6 +40,3 @@ Natively implemented as `text-decoration-skip-ink: auto` but it has less control
- https://caniuse.com/#feat=css-textshadow
- https://caniuse.com/#feat=css-gradients

View File

@ -31,6 +31,3 @@ Resets all styles to default values with one property. This will not affect `dir
<span class="snippet__support-note">⚠️ MS Edge status is under consideration.</span>
- https://caniuse.com/#feat=css-all

View File

@ -38,6 +38,3 @@ Uses an SVG shape to separate two different blocks to create more a interesting
#### Browser support
- https://caniuse.com/#feat=svg

View File

@ -32,6 +32,3 @@ span {
- https://caniuse.com/#feat=css-sel3
- https://caniuse.com/#feat=css-transitions

View File

@ -32,6 +32,3 @@ Uses the native font of the operating system to get close to a native app feel.
10. `sans-serif` is the fallback sans-serif font if none of the other fonts are supported
#### Browser support

View File

@ -39,6 +39,3 @@ Vertically and horizontally centers a child element within its parent element us
<span class="snippet__support-note">⚠️ Requires prefix for full support.</span>
- https://caniuse.com/#feat=transforms2d

View File

@ -26,6 +26,3 @@ Creates a triangle shape with pure CSS.
- Experiment with the `px` values to change the proportion of the triangle.
#### Browser support

View File

@ -46,6 +46,3 @@ If the text is longer than one line, it will be truncated for `n` lines and end
#### Browser support
- https://caniuse.com/#feat=css-gradients

View File

@ -30,6 +30,3 @@ If the text is longer than one line, it will be truncated and end with an ellips
<span class="snippet__support-note">⚠️ Only works for single line elements.</span>
- https://caniuse.com/#feat=text-overflow