Dynamically create sass variables in rails
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...

7
CSS
What is the best way to add a dynamic active class to a link with Tailwind CSS?

7
CSS
How do I "rails g scaffold book title" without the default tailwind generated classes on i.e app/views/* files and etc, if any?
I also use this same method.

2
CSS
Rails Tailwind Apply Directives not rendering
I got the solution, I generated assets with the `precompile` command which generated assets in public dir, and the assets in the public dir were capturing the request not allowing the development s...

2
CSS
Tailwind Checked Radio Buttons = Change Background
Ok, just solved my own problem. For anyone else wanting to turn radio buttons into actual buttons using CSS there's a 'focus-within' class used to target child elements. I'll probably move away fro...

2
CSS
ViewComponents and Tailwind CSS JIT
found out the change in Tailwind that prevented the expected behavior.

2
CSS
How do I add Zurb foundation-sites using webpacker?
That template was gold. Here's a gist that that extends that thinking, looking at setting up a basic working environment: https://gist.github.com/dvodvo/313bcb4da83030c48280fe76065da9e3

6
CSS
How do I integrate a bootstrap theme with rails 6 ?
Just watched this tutorial and it was super helpful - https://gorails.com/episodes/using-purchased-themes.
Before that, I struggled with it for awhile as well. I figured it out with a free templat...

5
CSS
Iterating using css grid
I had to add partial and it worked. Cheers,
<%= render partial: 'card', locals: { gym: gym, index: index } %>

14
CSS
How do use image-url in scss
I’ve watched your lesson on setting up bootstrap in Rails 6. I have a small issue though with trying to add a background image to class. I can’t seem to get image-url or assset-url to work. Probabl...

1
CSS
Tailwind - own components - yes or no?
@Ricky thanks for this input. i already have started to use more Vue including components / slots.

5
CSS
CSS Beginner Need Help
Hi, i am new to CSS and HTML and i have been trying to make the background of my HTML site an image, but it doesnt seem to work and the image does not appear https://trackeasy.fun/usps/ on my HTML ...

3
CSS
I tried to align this TEXT center.
Okay. So I guess the title gives it away. I’m a real noob when it comes to CSS. Like I’m good with JavaScript and have been working with ReactJS and Angular for a while now. But I just can’t seem t...

3
CSS