Giter Club home page Giter Club logo

cssformat's People

Contributors

hdemirchian avatar

Stargazers

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

Watchers

 avatar

cssformat's Issues

hot key

how to use this plugin ? what is the hot keys?

Hope this plugin can support Unicode

When the css file contains some unicode charaters, the console outputs:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 5: ordinal not in range(128)

Editing 1 specific options

Not really a issue - more of a personal preference.

I want to change the option of 'less than 4 parameters' on one line. Is there a way I can change that to '1 parameter' on one line?

Font face need to be fixed

Just try to parse this code:
@font-face {
font-family: 'ExoLight';
src: url('../fonts/Exo-Light-webfont.eot');
src: url('../fonts/Exo-Light-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/Exo-Light-webfont.woff') format('woff'),
url('../fonts/Exo-Light-webfont.ttf') format('truetype'),
url('../fonts/Exo-Light-webfont.svg#ExoLight') format('svg');
font-weight: normal;
font-style: normal;}

@font-face {
font-family: 'ExoRegular';
src: url('../fonts/Exo-Regular-webfont.eot');
src: url('../fonts/Exo-Regular-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/Exo-Regular-webfont.woff') format('woff'),
url('../fonts/Exo-Regular-webfont.ttf') format('truetype'),
url('../fonts/Exo-Regular-webfont.svg#ExoRegular') format('svg');
font-weight: normal;
font-style: normal;}

@font-face {
font-family: 'ExoMedium';
src: url('../fonts/Exo-Medium-webfont.eot');
src: url('../fonts/Exo-Medium-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/Exo-Medium-webfont.woff') format('woff'),
url('../fonts/Exo-Medium-webfont.ttf') format('truetype'),
url('../fonts/Exo-Medium-webfont.svg#ExoMedium') format('svg');
font-weight: normal;
font-style: normal;}

@font-face {
font-family: 'ExoDemiBold';
src: url('../fonts/Exo-DemiBold-webfont.eot');
src: url('../fonts/Exo-DemiBold-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/Exo-DemiBold-webfont.woff') format('woff'),
url('../fonts/Exo-DemiBold-webfont.ttf') format('truetype'),
url('../fonts/Exo-DemiBold-webfont.svg#ExoDemiBold') format('svg');
font-weight: normal;
font-style: normal;}

@font-face {
font-family: 'ExoBold';
src: url('../fonts/Exo-Bold-webfont.eot');
src: url('../fonts/Exo-Bold-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/Exo-Bold-webfont.woff') format('woff'),
url('../fonts/Exo-Bold-webfont.ttf') format('truetype'),
url('../fonts/Exo-Bold-webfont.svg#ExoBold') format('svg');
font-weight: normal;
font-style: normal;}

@font-face {
font-family: 'ExoItalic';
src: url('../fonts/Exo-Light-Italic-webfont.eot');
src: url('../fonts/Exo-Light-Italic-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/Exo-Light-Italic-webfont.woff') format('woff'),
url('../fonts/Exo-Light-Italic-webfont.ttf') format('truetype'),
url('../fonts/Exo-Light-Italic-webfont.svg#ExoBold') format('svg');
font-weight: normal;
font-style: normal;}

/* Reset
-----------------------------------------------------------------------------*/

  • {margin: 0; padding: 0;}

html {height: 100%;}

body {
font: 12px/18px ExoMedium, Arial, Tahoma, Verdana, sans-serif;
width: 100%;
height: 100%;
background:url(../images/dot_trans.png);}

a {color: #fff; outline: none; text-decoration: none;}

a:hover {color: #959595; text-decoration: none; outline: none;}

p {font:12px/20px ExoMedium; color:#303030;}

Breaks certain less mixins and variables

Certain mixins and variables are broken when using this. Particularly prevelent with with interpolated variables, e.g. @{var}, but also happens with - for example - variables to define media queries. Probably because of the weird formatting.

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.