Skip to main content
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...

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...

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...

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...

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 in the Console. It is all fine on the localhost, however after deploying t...

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...

Styles not rendering
CSS Solved • Asked by Miguel
Hey guys, So I'm following [a tutorial](, and around the 1 hr mark, he starts adding the styles. When I tried to reproduce it, it would n...

Dynamically create sass variables in rails
CSS Solved • Asked by Matt Taylor
I have a multi-tenant app where each tenant can set their primary and accent colors. Is there a way i can grab those values and insert them into a sass file on page load? I"m using rails 5 and post...

Incorporating an Admin Dashboard
CSS • Asked by Dave Ekhaus
Hi All Say you've found a sample Admin Dashboard web site. Its delivered as a 'skeleton' html.css app. In order to use it one needs to 'port' (for lack of a better term) - all the necessary re...

Style a drop down menu with css
CSS • Asked by jm castel
I watched the tuto on making notifications but i can't set the css to display the notifs properly. Could someone show me an exemple of his css ? Thanks