Code Monkey home page Code Monkey logo

backpack.css's People

Contributors

chris-pearce avatar dependabot[bot] 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

backpack.css's Issues

Remove the JS module export

This: #27 wasn't done properly, basically it was a bit of rushed job, therefore, it needs more care. This task is about removing it until it can be revisited.

Set up Autoprefixer

Autoprefixer needs to be part of the build script to ensure backpack.css matches its browser support matrix.

Look into πŸ‘€

Add these utilities

  • OpenType utilities:
    • fraction
    • footnote
    • small-caps
    • small capitals from capitals
  • Truncation of long strings

Remove `outline` for pointers that don't need it

:focus:not(:focus-visible) {
  outline: none;
}

Credit

The :focus:not(:focus-visible) selector allows me to remove the outline in cases where the browser has deemed that the focus does not need to be visible. For browsers that don’t yet support the :focus-visible pseudo-class, the entire rule is ignored and the outline remains as normal.
β€”https://bitsofco.de/my-css-reset-base/

Remove quotes

Something like:

blockquote,
q {
  quotes: none;
}

blockquote:after,
blockquote:before,
q:after,
q:before {
  content: "";
  content: none;
}

Getting warning from "text-decoration-skip: ink"

I'm getting the following console warning:

Replace text-decoration-skip: ink to text-decoration-skip-ink: auto, because spec had been changed

It's refering to this line.

I'm on the following version of backpack/postcss:

    "backpack.css": "^1.3.0",
    "postcss-cli": "^6.1.1",
    "postcss-loader": "^3.0.0",
    "postcss-preset-env": "^6.5.0",

Fixing lists for VoiceOver πŸ€¦πŸ»β€β™€οΈ

See here:

I really don't like this and agree 100% with this tweet. But caring about accessibility I feel my hands are tied.

Here is the related code:

/*
* In applications lists are ubiquitous and it's extremely rare they're used in
* long form content therefore it makes sense to strip away their bullets in
* addition to removing their default margin and padding (see: Resets).
*/
ul,
ol {
list-style-type: none;
}

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.