GithubHelp home page GithubHelp logo

codrops / css-reference-issues Goto Github PK

View Code? Open in Web Editor NEW
145.0 145.0 13.0 108 KB

A repo for collecting issues and suggestions for the Codrops CSS Reference http://tympanus.net/codrops/css_reference/

css-reference-issues's People

Contributors

crnacura avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

css-reference-issues's Issues

Flexbox reference: tweaks to illustrations maybe

Hello,

I didn't have time to carefully read all the Flexbox reference at http://tympanus.net/codrops/css_reference/flexbox/, so I've mostly skimmed it, but I've noticed a few things with the illustrations:

Typos:

One imprecision:

  • flex-grow-illustration suggests that the values for the third example are: flex-grow: 0 for the first and last item, and flex-grow: 2 for the middle item. The text after the illustration makes it clear that the first and last items have flex-grow: 1, but the illustration can be misleading. My suggestion: add another line of text before the third example, so that the label reads:

flex-grow: 1 (all)
flex-grow: 2 (on second item)

Congrats again on all the excellent work in this reference.

Possible Typo on: http://tympanus.net/codrops/css_reference/font-size/

Under Values > relative-size

In addition to the above absolute keywords, two relative keywords exits: larger and smaller, which calculate the font size of an element relative to its parent’s font size. So, if, for example, the parent’s font size is set to large and the element’s font size is set to larger, the element’s font size will be x-large.

Is it supposed to be:

In addition to the above absolute keywords, two relative keywords exist: larger and smaller, which calculate the font size of an element relative to its parent’s font size. So, if, for example, the parent’s font size is set to large and the element’s font size is set to larger, the element’s font size will be x-large.

P.S. This reference guide is very helpful. Thank you!

Hyphens

1.Work on all desktop browsers. (not on Android)
2.

works.
3.Your exemple is bad : your text isn't english ! Browsers use an internal local dictionary. (so I didn't have test all languages, work fine in english, french and I think all latins language).
4. I should update CanIuse :

good work :)

License

Hi,
This CSS references very complete, thank you for it!
I would like to know what kind of license is used for it. Is it possible to copy it as off-line version?

:focus on iOS

The :focus pseudo-class does not work for at least a and button elements for iOS Safari (I am on iOS 9). This bug can be recreated by visiting your reference page and clicking the links. They do not receive the outline that you are giving them.

Been working on this issue for a CSS only dropdown component I am trying to build (relying on the :focus state), and found this quirk. Thought it might be worth mentioning in the reference. Haven't been able to test on other touch devices yet.

EDIT: Also, thanks for all the work on this and everything else Codrops provides. You guys are an incredible resource!

Typo in the embedded caniuse info box?

Hello Sara!
First of all, I love your work and I thank you for share it with us!

I don't know if this is really an issue, it is only a typo, but it appears in every embedded caniuse info box:
At the bottom of the info box there are always a couple of links:
"Compatibility table provided by Can I use... — Seperate page — About embedding "
I think, it should be "Separate page". Sorry, I'm absolutely not picky, but as I saw it I thought that if it really is a typo, you could want to know it.

Have a nice day and thank you again!
Alberto

Code for ::before in page about ::after

Not a real issue, more a little adjustment?
Article is about an ::after pseudo-element and example is featuring ::before pseudo-element.
http://tympanus.net/codrops/css_reference/after/

.element::before {
    content: url(path/to/image.png); /* an image, for example, an icon */
}

.element::before {
    content: "Note: "; /* a string */
}

.element::before {
    content: "\201C"; /* also counts as a string. Escaping the unicode; renders it as a character */
}

z-index doesn't explain -1

I noticed when reading the z-index article, that you show in an example "z-index: -1" but don't explain it's usage.

Position

Description of the first image on page http://tympanus.net/codrops/css_reference/position/ states:
"The element is moved 35px to the left and 35px to the right, relative to its original position."

When it should say:
"The element is moved 35px to the bottom and 35px to the right, relative to its original position."

Property position

You wrote: 'If an element is positioned absolutely and none of its predecessors have a positioning context, it is positioned relative to the <body> of the page'.
I think, it is positioned relative to the root element <html> (the initial containing block).

:scope - Browser Support

The paragraph describing browser support for the :scope pseudo-class incorrectly declares that it is only supported in Chrome. It is currently only supported in Firefox.

Offline Support

If it would be possible to download the whole CSS reference or included in the app Dash, it would be awesome. As I guess many designers/developers are often on the go without WiFi or internet access, this would be great for using as a reference.

Intro to CSS functions?

Thank you for taking the time to compile this reference. It serves as a great guide to deepen my understanding of CSS! I have not been using css functions at all. I didn't see anything on codrops and when I google for them I encounter JQuery's css() or LESS examples.

Can you point me to a place to a general intro to css functions?

Thanks again!

Attribute selectors

Unsure if attribute selectors should be include here but I think they can be argued for. Also, I feel like many entry level designers and developers don't know about them.

Entries To Add

I've opened this issue to keep track of all additional concept entries that I want to add as soon as possible to the reference. These entries include:

  • attribute selectors
  • media queries (including different possible conditions, etc.)
  • Combinators
  • all property entry
  • appearance property entry

The list will be updated with other entries when necessary and, of course, comments and more suggestions are welcome in the comments!

Add CanIUse.com compatibility table for each CSS attribute

I don't expect it'd be useful to duplicate the compatibility tabels from caniuse.com - but It'd be great if you could use their API to bring in the compatibility tables for each feature. Would be a great addition to have at the foot of each page.

calc function

Hi, in the section below it's said "left margin of an element to be ‘10%’ of its width" however it is 10% of its container not the element itself.

calc

You can check it here quickly.

Thanks again for your great reference 👍

Code Examples

A lot of code examples only contain a block of properties (without any class declaration). I think we should add a class declaration to them so that the syntax highlighting of highlight.js works fine with them.

Example (how we do it now):
<pre class="brush:css">
mask-size: 50% auto;
mask-repeat: repeat;
mask-origin: border-box;
</pre>

should become

<pre class="brush:css"><code>
.examples {
mask-size: 50% auto;
mask-repeat: repeat;
mask-origin: border-box;
}
</code></pre>

We should edit the examples, whenever we edit/update an entry.

Table of contents

Wow, really amazed by the sheer amount of information. This brings me to something user experience related; because of the great deal of information, it can be hard to find your way around.

A table of contents would be really useful on for example the transform page.
I was looking for the Browser Support and had to scroll down for about 26 pages (while getting more and more excited, haha) before I ended up at the CanIUse tables.

:visited article

In the browser support section it's written :link, please correct it :)

CanIUse table height issue

I guess .ct-cssref .ct-cssref-support iframe is missing 10 pixels in height, which results in a small 10px vertical scrollbar and the clipping of the footer text, see attached image.

/* Can I use embed */
.ct-cssref .ct-cssref-support iframe {
    width: 100%;
    height: 370px; /* settings this to 380px fixes it for me on Chrome 42.0.2311.135 */
    margin: 30px 0;
}

can-i-use-footer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.