angeal185 / bootstrap-4-stylus Goto Github PK
View Code? Open in Web Editor NEWstylus port of bootstrap.css v4
License: MIT License
stylus port of bootstrap.css v4
License: MIT License
I couldn't find which version of Bootstrap this is based on.
Having a look on the resulting bootstrap.css
and comparing that to the more than 10000 lines of the current Bootstrap 4.3.1, after expanding it via the Sublime CSS Formater plugin, the 7760 lines of the resulting CSS from Boostrap 4 Stylus seem way off from that and also classes like order-first
are missing.
So I assume this is still based on Bootstrap 3? ๐ค
Hi, i saw the code, and i think, it's better if we use nib, what do you think about that? i think it's better because we can write only one line and nib automatically add the prefix
The flex keyword causes a problem, error message is:
argument "arg3" required for flex(arg1, arg2, arg3)
This is the offending code, that works with regular bootstrap
.proyecto-info-img
display block !important
flex none !important
The error occurs even if $flex-include is set to false
I don't see this being an exact port of the bootstrap 4 sass version. Naming convention is a bit off, but not all the stylus files are in.
Missing the navbar.styl and the grid.styl, etc
bootstrap-4-stylus/includes/carousel.styl
Lines 87 to 88 in 052d6c6
bootstrap-4-stylus/includes/carousel.styl
Lines 91 to 92 in 052d6c6
bootstrap-4-stylus/includes/custom.styl
Lines 53 to 54 in 052d6c6
bootstrap-4-stylus/includes/custom.styl
Lines 58 to 59 in 052d6c6
bootstrap-4-stylus/includes/custom.styl
Lines 67 to 68 in 052d6c6
bootstrap-4-stylus/includes/custom.styl
Lines 88 to 89 in 052d6c6
bootstrap-4-stylus/includes/nav.styl
Lines 334 to 335 in 052d6c6
bootstrap-4-stylus/includes/nav.styl
Lines 363 to 364 in 052d6c6
@import 'bootstrap-4-stylus/includes/*.styl'
My temporary solution
@import 'bootstrap-4-stylus/includes/!(carousel|custom|nav)*.styl'
lines 334 and 362 of /includes/nav.styl have incorrect strings for the hamburger icon svgs
(is) data:image/svg+xml
(should be) data:image/svg+xml;
The difference? semicolon after xml
(is) xmlns='http //www.w3.org/2000/svg
(should be) xmlns='http://www.w3.org/2000/svg
The difference? colon between http and //
Equal-width did not work.
I think flex-grow should be 1 instead of 0.
col.styl
col()
.col{arguments}
-ms-flex 0 0 auto
flex 0 0 auto
width auto
max-width none
->
col()
.col{arguments}
-ms-flex 1 0 auto
flex 1 0 auto
width auto
max-width none
Currently breakpoints are all hard-coded into files (see container.styl). Having separate breakpoint variables (like Bootstrap does) would make this library more extensible.
(Thanks for putting the work in to convert this, by the way!)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.