Butter Cake
v4.0.0
A Modern Lightweight Front End CSS framework for faster and easier web development.
Explore Butter Cake docs ยป
Report bug . Request feature . Examples
Status
Build responsive, mobile-first projects on the web with Butter Cake.
Butter Cake is an open source and lightweight modular toolkit for developing with HTML, CSS, and JS. Quickly prototype your ideas or build your entire app with our Sass(SCSS) variables and mixins, responsive grid system, extensive prebuilt components.
Get Started
NPM
npm i buttercake
CSS (jsdelivr)
<!-- BUTTER CAKE CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/butterCake.min.css">
JS (jsdelivr)
<!-- BUTTER CAKE JS -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/butterCake.min.js"></script>
Documentation
Checkout the official website for the Documentation. https://getbuttercake.com
Why You should use - Butter Cake
-
โ๏ธ light weight -
๐ Modular Components -
๐ Simple Structure -
๐ Built Using Sass(SCSS) -
๐ฒ Responsive
๐
Browser Support
Butter Cake uses autoprefixer to make (most) Flexbox features compatible with earlier browser versions. According to Can I use, Butter Cake is compatible with recent versions of:
- Chrome
- Firefox
- Safari
- Edge
- Samsung Browser
- Opera
Support the developement
Copyright and license
Code copyright 2018 - 2021 Himas Rafeek. Code released under the MIT license.
Different offsets at different breakpoints
Hi,
Is there a way to have no offset on mobile and also have an offset on desktop?
Move away from jQuery
Because butterCake identifies as a lightweight framework, it makes sense to ship vanilla JS scripts without jQuery dependency
Removing jQuery would also make Butter Cake easier to use with front-end frameworks such as react
Scale font size with media queries by default
Hi, I have been playing around with Butter Cake for the past few days and I like it. I do not know SASS, as I mostly work in LESS, so please answer my following ignorant questions regarding the distribution compiled CSS:
Navbar documentation
I could not get the navbar menu to open on mobile, the documentation does not say it but it is necessary for jquery and butterCake.min.js to be loaded in the footer and not in the header. You should make that clear
Activating Open Collective
Hi, I'm making updates for Open Collective. Either you or a supporter signed this repo up for Open Collective. This pull request adds backers and sponsors from your Open Collective https://opencollective.com/butterCake โค๏ธ
It adds two badges at the top to show the latest number of backers and sponsors. It also adds placeholders so that the avatar/logo of new backers/sponsors can automatically be shown without having to update your README.md. [more info]. See how it looks on this repo. You can also add a "Donate" button to your website and automatically show your backers and sponsors there with our widgets. Have a look here: https://opencollective.com/widgets
P.S: As with any pull request, feel free to comment or suggest changes. The only thing "required" are the placeholders on the README because we believe it's important to acknowledge the people in your community that are contributing (financially or with code!).
Thank you for your great contribution to the open source community. You are awesome! ๐ And welcome to the open collective community! ๐
Come chat with us in the #opensource channel on https://slack.opencollective.com - great place to ask questions and share best practices with other open source sustainers!
Container width $xl-media
Hi, In the compiled CSS the
.container
class does not use the 1260px breakpointThis is because the
_containers.scss
file does not define container widths for$xl-media
. I recommend adding a definition for$xl-media
P.S. you shouldn't close issues until they're resolved. For example, the issue about jQuery should stay open until the jQuery dependency is deprecated. That is to provide a todo-list to you and your contributors and to prevent other people from accidentally opening an issue about the same thing.