million-views / kis.css

kis❤️css - keep it simple css

Home Page:https://million-views.github.io/kiscss-test/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keep It Simple CSS

Overview

KIS.CSS (pronounced as 'kisses') is a forward looking CSS library that is minimal and lightweight in terms of functionality and size.

Keep it simple. Focus on functionality. Visual design and scale come after an idea comes to life, not before.

Why did we create this?

At our search lab, we spin through testing ideas that have a half-life of less than two weeks most of the time. To get to a functional and usable state before the idea decays, we needed a CSS library that let the idea come to life without suffering from undue cognitive load to get something displayed on the screen that is decent to look at. Such a library should not restrict or dictate our choices in visual design down the road.

Our goal is to be able to get to a testable product fast without losing the ability to improve on the visual aesthetics later. We think using large and complex CSS libraries during conception stage is not the right choice for validating product ideas.

Features

  • Designed to make semantic html look good without classes (wip)
  • Mobile first css (wip)
  • Pure CSS to enable easy integration with popular reactive JS frameworks

Development

If using Yarn, yarn can replace all occurences of npm in the command line below. 👌

If live-server is not installed globally do so now.

# is live-server installed ?
$ which live-server

# if not installed, install it now
$ npm install --global live-server

Tasks

task command line notes
install npm install installs dependencies
lint npm run lint run eslint on src folder
lint:fix npm run lint:fix run eslint on src folder
test npm run test simple render test
build npm run build compile to build folder
start npm run start web serve build folder
watch npm run watch watch/build changes to app and web folders

Integrating kiscss in your application

TODO

  • Documentation (WIP, in the meantime take a look at the demo app)
  • Write instructions on how to use git subtree for integration
  • Enhance core/* to make webby apps look better out of the box
  • Semver based release management
  • Iterate on mobile first css (as bugs get reported)

Credits and attribution

  • normalize.css
  • kitchen-sink.html came from HiQ
  • Most of the content for the test home page came from PicnicCss
  • Inspiration and alignment to principles of simplicity came from HiQ and PicnicCSS
  • Baseline scss code for kiscss came from PicnicCss which is under MIT License
  • Tooltip code adopted from balloon.css
  • Tabs code adopted from mikestreety
  • Nav code adopted from mutedblues

Alternatives

You have choices. Turns out we are not alone in our thinking. Search for 'lightweight' and 'classless' css libraries in the awesome css frameworks list maintained by Troxler?.

License

MIT

About

kis❤️css - keep it simple css

https://million-views.github.io/kiscss-test/index.html

License:MIT License


Languages

Language:CSS 43.2%Language:JavaScript 33.8%Language:HTML 22.9%