Coder Social home page Coder Social logo

arielrenyinski / css-flexbox-cheatsheet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dzhavat/css-flexbox-cheatsheet

0.0 0.0 0.0 12.54 MB

VS Code extension that lets you open a CSS Flexbox cheatsheet directly in the editor.

Home Page: https://marketplace.visualstudio.com/items?itemName=dzhavat.css-flexbox-cheatsheet

License: MIT License

JavaScript 9.54% TypeScript 79.81% CSS 10.64%

css-flexbox-cheatsheet's Introduction

CSS Flexbox Cheatsheet (link)

VS Code extension that lets you open a flexbox cheatsheet directly in the editor.

Features

The cheatsheet can be opened in a few ways:

  • Press Ctrl + Shift + P (Win, Linux) / Cmd + Shift + P (Mac) and search for the Open CSS Flexbox Cheatsheet command.
  • Press Ctrl + K K (Win, Linux) / Cmd + K K (Mac) keyboard shortcut.
  • Hover any display: flex declaration and click the Open CSS Flexbox Cheatsheet link in the popup.

Besides the Open CSS Flexbox Cheatsheet link in the hover popup, there’s also an image shown for each flexbox property. This aims to make it easier to understand how each property works without opening the cheatsheet. This is available for the following file types:

  • CSS
  • Less
  • Sass
  • Scss

Most properties also have interactive playgrounds that are part of the cheatsheet.

Settings

After opening the cheatsheet, you can select the directionality to be used in the interactive playgrounds. This is especially useful for languages that write from right-to-left (e.g. Arabic). Learn more.

Font and colors

The colors of the cheatsheet automatically adapt to the selected theme. The font is based on the user’s preferred font.

Support my work

If you find this extension useful and would like to support my work, you can buy me a cup of tea. Thank you!

Buy Me A Cup Of Tea

Demo

Using the Open CSS Flexbox Cheatsheet command

Demo using "Open CSS Flexbox Cheatsheet" the command

Clicking the Open CSS Flexbox Cheatsheet link on hover

Demo opening the cheatsheet by clicking the "Open CSS Flexbox Cheatsheet" command

Trying the interactive playgrounds

Trying the interactive playgrounds

Changing directionality in the interactive playgrounds

Demo changing directionality

Showing an image on hover

Demo showing an image on hover

Credit

The cheatsheet in this extension is based on the excellent Flexbox Cheatsheet by Darek Kay.

css-flexbox-cheatsheet's People

Contributors

dzhavat avatar nickytonline avatar

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.