Skip to main content
How add PurgeCss with TailwindCss?
CSS • Asked by Nikola Okonesh
https://next.tailwindcss.com/docs/controlling-file-size postcss.config.js ``` const purgecss = require('@fullhuman/postcss-purgecss')({ content: [ './**/**/**/*.erb', './**/**/**...
2
posts

How do I add Zurb foundation-sites using webpacker?
CSS • Asked by Jason Brown
How do I add Zurb foundation-sites using webpacker? Is there a good resource somewhere showing how to add various libraries/frameworks using webpacker?
2
posts

BootsrapVue - Not Loading the CSS
CSS Solved • Asked by Eduardo Borsa
Hello community! Can someone help me with some config? I tried to add Bootstrap-Vue to my rails/Vue project, but the CSS was not loading. I created a very simple one, but I can't make it w...
1
post

How do I install bootstrap-v4 via yarn?
CSS Solved • Asked by Drilon Buzuku
Hey Guys, I tried to install bootstrap4 via yarn. And I tried it like this: 1. yarn add [email protected] 2. rails webpacker:compile 3. add the line: import 'bootstrap/dist/css/boots...
5
posts

How do I generate dynamic classes?
CSS • Asked by William Kennedy
Is there a way to generate dynamic classes with scss/sass? For example, in my HTML. I want to write div class='mt-10'></div> div class='mt-7'></div> div class='mt-3'></div...
4
posts

How to update TailwindsCSS?
CSS • Asked by abebraham
Hi, ladies and gents, I want to know what is the recommended method of updating tailwinds CSS? Currently running 0.4.1 and want to update to 0.5.1 to be able to use ':active' variant. https://githu...
2
posts

Lots of trouble using LESS in a paid theme.
CSS • Asked by Jesse Waites
Hi, I have a paid theme from Themeforest that uses LESS. It sucks, but I didn;t notice at the time. I am using the less-rails gem and things were going OK. I am now trying to put together an admin...
9
posts

Portfolio responsive view not rendering on mobile Chrome; Safari
CSS • Asked by Linards Berzins
Hi, I was trying to figure out this Declaration dropped on a live webpage https://lb-webportfolio.herokuapp.com/portfolios in the Console. It is all fine on the localhost, however after deploying t...
5
posts

How do I install UIKit via yarn?
CSS Solved • Asked by Tabish Iqbal
Answer: 1. Add uikit through yarn: yarn add uikit 2. Create a file to be transpiled by webpacker: app/javascript/uikit.sass (or app.sass... whichever name suits you best.) 3. Within uikit.sass...
1
post

Styles not rendering
CSS Solved • Asked by Miguel
Hey guys, So I'm following [a tutorial](https://www.youtube.com/watch?v=70Pu_28yvdI&t=4025s), and around the 1 hr mark, he starts adding the styles. When I tried to reproduce it, it would n...
6
posts

Subscribe to the newsletter

Join 20,000+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.