Skip to content

Commit

Permalink
Add Can I use
Browse files Browse the repository at this point in the history
  • Loading branch information
jgthms committed Dec 18, 2016
1 parent 4b0b9e0 commit 3b3cf67
Show file tree
Hide file tree
Showing 89 changed files with 381 additions and 37 deletions.
6 changes: 3 additions & 3 deletions _includes/collections/animations.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _includes/collections/box-model.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _includes/collections/flexbox.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _includes/collections/positioning.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _includes/collections/transitions.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion _includes/collections/typography.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions _includes/lists/main-list.html

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions _includes/menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,18 +89,6 @@
<p class="footer-title">
<strong>{{site.subtitle}}</strong> <small>Created by <a href="https://twitter.com/jgthms">@jgthms</a></small>
</p>
<div class="footer-facebook">
<iframe class="footer-iframe" data-src="https://www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fcssreference%2F&width=100&layout=button_count&action=like&size=small&show_faces=false&share=false&height=20&appId=1212191075486670" width="100" height="20" scrolling="no" frameborder="0" allowTransparency="true"></iframe>
</div>
<div class="footer-github">
<iframe class="footer-iframe" data-src="https://ghbtns.com/github-btn.html?user=jgthms&repo=css-reference&type=star&count=true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
</div>
<!-- <p class="footer-share footer-share--contribute">
<strong class="footer-share-label">Contribute</strong>
<a class="footer-share-button is-github" href="https://github.com/jgthms/css-reference" target="_blank">
{% include svg/github.html %}
</a>
</p> -->
<p class="footer-share footer-share--social">
<strong class="footer-share-label">Share</strong>
<a class="footer-share-button is-twitter"
Expand All @@ -120,4 +108,16 @@
</a>
<a id="menu-nav-open" class="footer-share-nav">Menu</a>
</p>
<div class="footer-facebook">
<iframe class="footer-iframe" data-src="https://www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fcssreference%2F&width=100&layout=button_count&action=like&size=small&show_faces=false&share=false&height=20&appId=1212191075486670" width="100" height="20" scrolling="no" frameborder="0" allowTransparency="true"></iframe>
</div>
<div class="footer-github">
<iframe class="footer-iframe" data-src="https://ghbtns.com/github-btn.html?user=jgthms&repo=css-reference&type=star&count=true" frameborder="0" scrolling="0" width="110px" height="20px"></iframe>
</div>
<!-- <p class="footer-share footer-share--contribute">
<strong class="footer-share-label">Contribute</strong>
<a class="footer-share-button is-github" href="https://github.com/jgthms/css-reference" target="_blank">
{% include svg/github.html %}
</a>
</p> -->
</footer>
28 changes: 24 additions & 4 deletions _layouts/collection.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,30 @@
{% include menu.html %}
<main class="main">
<header class="heading">
<h1 class="heading-title">
<strong>{{page.collection_name}}</strong> in CSS
</h1>
<p class="heading-description">The CSS properties that allow you to {{page.description}}</p>
<div class="heading-content">
<h1 class="heading-title">
<strong>{{page.collection_name}}</strong> in CSS
</h1>
<p class="heading-description">The CSS properties that allow you to {{page.description}}</p>
</div>
<p class="heading-share">
<strong class="heading-share-label">Share this page</strong>
<a class="heading-share-button is-twitter"
data-social-network="Twitter"
data-social-action="tweet"
data-social-target="{{site.url}}{{page.url}}"
href="https://twitter.com/intent/tweet?url={{site.url | url_encode}}{{page.url | url_encode}}&text={{page.collection_name | prepend: 'Learn how ' | append: ' works in CSS' | url_encode}}"
rel="external nofollow"
target="_blank">
{% include svg/twitter.html %}
</a>
<a class="heading-share-button is-facebook"
href="http://www.facebook.com/sharer.php?u={{site.url | url_encode}}{{page.url | url_encode}}"
rel="external nofollow"
target="_blank">
{% include svg/facebook.html %}
</a>
</p>
</header>
<section class="list">
{{content}}
Expand Down
2 changes: 1 addition & 1 deletion css/website.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions property/align-content/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
<section id="align-content" class="property">
<header class="property-header">
<nav class="property-links">
<a class="property-collection" target="_blank" href="{{site.url}}/flexbox/">
In collection: <strong>flexbox</strong>
</a>
<a class="property-links-direct" href="{{site.url}}/property/align-content/" data-property-name="align-content" data-tooltip="Single page for this property" target="_blank">Pop out</a>
<a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="align-content">Share</a>
<a target="_blank" href="http://caniuse.com/#feat=flexbox" data-tooltip="See on Can I use..." rel="external">Can I use</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/align-content" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="property-name">
Expand Down
4 changes: 4 additions & 0 deletions property/align-items/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
<section id="align-items" class="property">
<header class="property-header">
<nav class="property-links">
<a class="property-collection" target="_blank" href="{{site.url}}/flexbox/">
In collection: <strong>flexbox</strong>
</a>
<a class="property-links-direct" href="{{site.url}}/property/align-items/" data-property-name="align-items" data-tooltip="Single page for this property" target="_blank">Pop out</a>
<a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="align-items">Share</a>
<a target="_blank" href="http://caniuse.com/#feat=flexbox" data-tooltip="See on Can I use..." rel="external">Can I use</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/align-items" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="property-name">
Expand Down
4 changes: 4 additions & 0 deletions property/align-self/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
<section id="align-self" class="property">
<header class="property-header">
<nav class="property-links">
<a class="property-collection" target="_blank" href="{{site.url}}/flexbox/">
In collection: <strong>flexbox</strong>
</a>
<a class="property-links-direct" href="{{site.url}}/property/align-self/" data-property-name="align-self" data-tooltip="Single page for this property" target="_blank">Pop out</a>
<a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="align-self">Share</a>
<a target="_blank" href="http://caniuse.com/#feat=flexbox" data-tooltip="See on Can I use..." rel="external">Can I use</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/align-self" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="property-name">
Expand Down
4 changes: 4 additions & 0 deletions property/animation-delay/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
<section id="animation-delay" class="property">
<header class="property-header">
<nav class="property-links">
<a class="property-collection" target="_blank" href="{{site.url}}/animations/">
In collection: <strong>animations</strong>
</a>
<a class="property-links-direct" href="{{site.url}}/property/animation-delay/" data-property-name="animation-delay" data-tooltip="Single page for this property" target="_blank">Pop out</a>
<a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="animation-delay">Share</a>
<a target="_blank" href="http://caniuse.com/#feat=css-animation" data-tooltip="See on Can I use..." rel="external">Can I use</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/animation-delay" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="property-name">
Expand Down
4 changes: 4 additions & 0 deletions property/animation-direction/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
<section id="animation-direction" class="property">
<header class="property-header">
<nav class="property-links">
<a class="property-collection" target="_blank" href="{{site.url}}/animations/">
In collection: <strong>animations</strong>
</a>
<a class="property-links-direct" href="{{site.url}}/property/animation-direction/" data-property-name="animation-direction" data-tooltip="Single page for this property" target="_blank">Pop out</a>
<a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="animation-direction">Share</a>
<a target="_blank" href="http://caniuse.com/#feat=css-animation" data-tooltip="See on Can I use..." rel="external">Can I use</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/animation-direction" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="property-name">
Expand Down
4 changes: 4 additions & 0 deletions property/animation-duration/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
<section id="animation-duration" class="property">
<header class="property-header">
<nav class="property-links">
<a class="property-collection" target="_blank" href="{{site.url}}/animations/">
In collection: <strong>animations</strong>
</a>
<a class="property-links-direct" href="{{site.url}}/property/animation-duration/" data-property-name="animation-duration" data-tooltip="Single page for this property" target="_blank">Pop out</a>
<a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="animation-duration">Share</a>
<a target="_blank" href="http://caniuse.com/#feat=css-animation" data-tooltip="See on Can I use..." rel="external">Can I use</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/animation-duration" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="property-name">
Expand Down
4 changes: 4 additions & 0 deletions property/animation-fill-mode/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
<section id="animation-fill-mode" class="property">
<header class="property-header">
<nav class="property-links">
<a class="property-collection" target="_blank" href="{{site.url}}/animations/">
In collection: <strong>animations</strong>
</a>
<a class="property-links-direct" href="{{site.url}}/property/animation-fill-mode/" data-property-name="animation-fill-mode" data-tooltip="Single page for this property" target="_blank">Pop out</a>
<a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="animation-fill-mode">Share</a>
<a target="_blank" href="http://caniuse.com/#feat=css-animation" data-tooltip="See on Can I use..." rel="external">Can I use</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/animation-fill-mode" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="property-name">
Expand Down
4 changes: 4 additions & 0 deletions property/animation-iteration-count/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
<section id="animation-iteration-count" class="property">
<header class="property-header">
<nav class="property-links">
<a class="property-collection" target="_blank" href="{{site.url}}/animations/">
In collection: <strong>animations</strong>
</a>
<a class="property-links-direct" href="{{site.url}}/property/animation-iteration-count/" data-property-name="animation-iteration-count" data-tooltip="Single page for this property" target="_blank">Pop out</a>
<a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="animation-iteration-count">Share</a>
<a target="_blank" href="http://caniuse.com/#feat=css-animation" data-tooltip="See on Can I use..." rel="external">Can I use</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/animation-iteration-count" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="property-name">
Expand Down
4 changes: 4 additions & 0 deletions property/animation-name/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
<section id="animation-name" class="property">
<header class="property-header">
<nav class="property-links">
<a class="property-collection" target="_blank" href="{{site.url}}/animations/">
In collection: <strong>animations</strong>
</a>
<a class="property-links-direct" href="{{site.url}}/property/animation-name/" data-property-name="animation-name" data-tooltip="Single page for this property" target="_blank">Pop out</a>
<a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="animation-name">Share</a>
<a target="_blank" href="http://caniuse.com/#feat=css-animation" data-tooltip="See on Can I use..." rel="external">Can I use</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/animation-name" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="property-name">
Expand Down
4 changes: 4 additions & 0 deletions property/animation-play-state/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
<section id="animation-play-state" class="property">
<header class="property-header">
<nav class="property-links">
<a class="property-collection" target="_blank" href="{{site.url}}/animations/">
In collection: <strong>animations</strong>
</a>
<a class="property-links-direct" href="{{site.url}}/property/animation-play-state/" data-property-name="animation-play-state" data-tooltip="Single page for this property" target="_blank">Pop out</a>
<a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="animation-play-state">Share</a>
<a target="_blank" href="http://caniuse.com/#feat=css-animation" data-tooltip="See on Can I use..." rel="external">Can I use</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/animation-play-state" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="property-name">
Expand Down
4 changes: 4 additions & 0 deletions property/animation-timing-function/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
<section id="animation-timing-function" class="property">
<header class="property-header">
<nav class="property-links">
<a class="property-collection" target="_blank" href="{{site.url}}/animations/">
In collection: <strong>animations</strong>
</a>
<a class="property-links-direct" href="{{site.url}}/property/animation-timing-function/" data-property-name="animation-timing-function" data-tooltip="Single page for this property" target="_blank">Pop out</a>
<a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="animation-timing-function">Share</a>
<a target="_blank" href="http://caniuse.com/#feat=css-animation" data-tooltip="See on Can I use..." rel="external">Can I use</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/animation-timing-function" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="property-name">
Expand Down
4 changes: 4 additions & 0 deletions property/animation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
<section id="animation" class="property property--shorthand">
<header class="property-header">
<nav class="property-links">
<a class="property-collection" target="_blank" href="{{site.url}}/animations/">
In collection: <strong>animations</strong>
</a>
<a class="property-links-direct" href="{{site.url}}/property/animation/" data-property-name="animation" data-tooltip="Single page for this property" target="_blank">Pop out</a>
<a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="animation">Share</a>
<a target="_blank" href="http://caniuse.com/#feat=css-animation" data-tooltip="See on Can I use..." rel="external">Can I use</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/animation" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="property-name">
Expand Down
1 change: 1 addition & 0 deletions property/background-attachment/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<nav class="property-links">
<a class="property-links-direct" href="{{site.url}}/property/background-attachment/" data-property-name="background-attachment" data-tooltip="Single page for this property" target="_blank">Pop out</a>
<a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="background-attachment">Share</a>
<a target="_blank" href="http://caniuse.com/#feat=background-attachment" data-tooltip="See on Can I use..." rel="external">Can I use</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/background-attachment" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
</nav>
<h2 class="property-name">
Expand Down
3 changes: 3 additions & 0 deletions property/border-bottom-width/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<section id="border-bottom-width" class="property">
<header class="property-header">
<nav class="property-links">
<a class="property-collection" target="_blank" href="{{site.url}}/box-model/">
In collection: <strong>box-model</strong>
</a>
<a class="property-links-direct" href="{{site.url}}/property/border-bottom-width/" data-property-name="border-bottom-width" data-tooltip="Single page for this property" target="_blank">Pop out</a>
<a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="border-bottom-width">Share</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/border-bottom-width" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
Expand Down
3 changes: 3 additions & 0 deletions property/border-left-width/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<section id="border-left-width" class="property">
<header class="property-header">
<nav class="property-links">
<a class="property-collection" target="_blank" href="{{site.url}}/box-model/">
In collection: <strong>box-model</strong>
</a>
<a class="property-links-direct" href="{{site.url}}/property/border-left-width/" data-property-name="border-left-width" data-tooltip="Single page for this property" target="_blank">Pop out</a>
<a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="border-left-width">Share</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/border-left-width" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
Expand Down
3 changes: 3 additions & 0 deletions property/border-right-width/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<section id="border-right-width" class="property">
<header class="property-header">
<nav class="property-links">
<a class="property-collection" target="_blank" href="{{site.url}}/box-model/">
In collection: <strong>box-model</strong>
</a>
<a class="property-links-direct" href="{{site.url}}/property/border-right-width/" data-property-name="border-right-width" data-tooltip="Single page for this property" target="_blank">Pop out</a>
<a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="border-right-width">Share</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/border-right-width" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
Expand Down
3 changes: 3 additions & 0 deletions property/border-top-width/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<section id="border-top-width" class="property">
<header class="property-header">
<nav class="property-links">
<a class="property-collection" target="_blank" href="{{site.url}}/box-model/">
In collection: <strong>box-model</strong>
</a>
<a class="property-links-direct" href="{{site.url}}/property/border-top-width/" data-property-name="border-top-width" data-tooltip="Single page for this property" target="_blank">Pop out</a>
<a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="border-top-width">Share</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/border-top-width" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
Expand Down
3 changes: 3 additions & 0 deletions property/border-width/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<section id="border-width" class="property">
<header class="property-header">
<nav class="property-links">
<a class="property-collection" target="_blank" href="{{site.url}}/box-model/">
In collection: <strong>box-model</strong>
</a>
<a class="property-links-direct" href="{{site.url}}/property/border-width/" data-property-name="border-width" data-tooltip="Single page for this property" target="_blank">Pop out</a>
<a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="border-width">Share</a>
<a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/border-width" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
Expand Down
Loading

0 comments on commit 3b3cf67

Please sign in to comment.