I have installed Bootstrap 4.0-alpha with Bower and now I have a dist directory with precompiled bootstrap.css and bootstrap.min.css. In development environment I try to use not compressed version, but minified version within deployment. I use Laravel Elixir to run my tasks. After compressing, some bootstrap styles has been changed. For example, h1 tag has got "margin-top: 0.67em" (it has happened, because "margin-top: 0px" has got lower priority). Of course, I can simply use precompressed file from dist directory which is complitely fine. But if it's an issue of my minifier, I am afraid that it will lead to the wrong results in further development.So my question is why it's happening?
Bootstrap 4. CSS minification produces wrong results
654 Views Asked by Phargelm At
1
There are 1 best solutions below
Related Questions in GULP
- the gulp-pug doesn't work and say unexpected token "indent"
- Use Gulp Newer on Array of Sources
- When I try to install gulp, these errors come up and I cant figure out how to fix them
- How do I run PurgeCSS on local URLs?
- how do I run gulp with error globalThis is not defined
- im getting 'local gulp not found' in an old angularjs code despite doing npm install and also installing gulp packages
- Can I use sass instead of node-sass in suiteCommerce project?
- How to build SAPUI5 application that should only have "component-preload.js"?
- gulpfile not compiling js and css on save
- Error when compliling sass - node and gulp
- regeneratorRuntime is not defined with gulp
- BrowserSync not working when on LTE connection or no Internet Connection
- How to minify html files in folders and subfolders using gulp?
- Expose $ and jQuery to global scope with Typescript, Browserify and Gulp
- Bundling separate vendor file with gulp+browserify
Related Questions in LARAVEL-ELIXIR
- unable to install laravel-elixir due to node-sass
- Laravel - Why cannot find asset from gulp laravel
- Unexpected token If I Run "gulp" command
- TypeError: require.extensions.hasOwnProperty is not a function - on running gulp
- Trying to complie sass with elixir and gulp but I when i try gup in terminal, get this error:
- Can't compile assets with Gulp
- How to fix the below errors while trying to install laravel-elixir with npm
- laravel-elixir is not installing in windows 10
- Datatables.net Excel export button is not displayed when using webpack
- NPM install Gulp/Elixir
- unable to laravel gulp command
- Gulp always throw error Cannot find module 'gulp-util'
- Error unexpected token: "" (column 1, codepoint U+0000) when making file changes with a code editor
- File css/all.css not defined in asset manifest
- NPM works differently on the SAME docker image
Related Questions in BOOTSTRAP-4
- Displaying a Movie List on a Website Using Jinja2 and Bootstrap
- I just cant make it work, HTML, JS and Firebase error
- enable overflown data visible outside the container
- Html + Css good response on computer (even in minimized mode) but bad on mobile
- n is not a constructor error for bs4.5.2 dropdown and jquery 3.5.1
- How to write HTML CSS code for a header navbar that too responsive
- Change Opacity of Bootstrap Button
- PhotoSwipe image position affected by other img elements in html on mobile
- Should i learn Bootstrap in 2024
- Having trouble sizing single resizable column with Bootstrap
- In Boostrap 4 how can I change the the translucency of toasts to fully opaque?
- Project was bootstrapped with an old unsupported version of tools while creating react app
- Tooltip positioned too high with data-bs-placement="top" in Bootstrap 5
- TypeError when using Popper with Bootstrap 4
- How can I generate a Business Model Canvas with Bootstrap Cards and integrate it as html in a qmd-file?
Related Questions in GULP-CLEAN-CSS
- Why Gulp runs without errors but is not compiling the SCSS scripts?
- How to use gulp-clean-css to write a new -min.css file instead of the default of overwriting the existing css source file?
- Stop clean-css from changing 'Crimson' to #dc143c in { font-type: 'Crimson Text' }
- Gulp is creating a directory instead of a file
- Gulp + Less + Minify CSS error: concat multiple Less files?
- Minify CSS with Gulp via .pipe
- Clean-Css task gives error in gulpfile : cannot read property 'on'
- gulp sourcemaps and clean-css not working properly
- Gulp sass to css: combine selectors with same property/values
- How to remove special comments in gulp clean-css?
- How to keep my relative paths with clean-css minifying?
- Cannot read property 'line' of undefined at originalPosition in gulp-clean-css plugin
- TypeError: has no method 'isAbsolute'
- Using gulp-clean-css and gulp-rename to minify and rename with .min.css prefix, but gulp erases style.min.css file
- EACCES: permission denied on gulp css minify, same src and dest
Related Questions in GULP-MINIFY-CSS
- Minify css + Gulp
- Gulp build not generating any files
- Minify multiple input file with postcss
- Why the task's output of gulp-clean-css for minify CSS is empty file?
- Gulp Isn't Executing Minify-CSS
- Adding versioning in image path Sprite
- Why do minfiers reduce to one line
- TypeError: has no method 'isAbsolute'
- All LESS files are not getting compiled
- Gulp CSS task not overwriting existing CSS
- gulp maintain same destination path as in the source
- how do I get gulp to watch both autoprefixer and minify?
- Concat and Minify not working / Gulp
- sourcemaps in gulp not mapping to files
- Minification error with minifycss
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The Bootstrap build chain uses
grunt-contrib-csswhich usesclean-css(version 3.4.6)In the Gruntfile.js the option
noAdvanced: truehad been set. As far as i do understande this is not an option forgrunt-contrib-cssneitherclean-css. Insteadadvanced: falseshould be set: