r/csshelp • • Aug 06 '25

Resource I built a free CSS Grid Generator to create responsive layouts visually (no signup, no code) 🚀

10 Upvotes

Hey everyone! 👋

I recently launched CSS Grid Generator — a free, visual tool that helps developers and designers create responsive CSS Grid layouts with zero coding.

TailwindCSS Support

You can now export your layout as Tailwind utility classes, making it even easier to integrate with modern workflows and frameworks like Next.js, Vue, etc

✅ Just drag and drop layout blocks

✅ Build modern Bento-style UI sections and dashboards

✅ Export clean HTML & CSS and TailwindCSS in one click

✅ Mobile responsive out of the box

✅ 100% free — no signup just design and export

I made it because I was tired of writing grid layouts manually and wanted a faster, more visual approach — especially for dashboards and modern UIs.

It’s great for:

  • Designers who want quick layout prototyping

  • Developers who hate writing grid-template-areas by hand

  • People building landing pages, admin panels, or web apps

Would love your feedback 🙏

Any feature ideas, improvements, or bugs you find — I’m all ears!

🔗 Try it here: https://cssgrid-generator.com

Thanks


r/csshelp • • May 25 '22

How do I create text that rolls up on hover?

10 Upvotes

I found this awesome site https://ej-architecture.fr/services where the nav text rolls up on hover. I have been looking on codepen and in articles to find out how to do this. But I have had no luck. Can anyone guide me to a post or explain to some degree how to accomplish this?


r/csshelp • • Jan 25 '21

Request How can I change the "Hot", "New", "Rising", "Controversial" buttons etc. to instead filter by flair? The subreddit is r/lasercom and the CSS style is from r/mindashq.

10 Upvotes

I meticulously curate the flair on r/lasercom. I would like the buttons along the top banner to "News", "Article", "Research", "Videos", etc. instead of "Hot", "New", "Rising", "Controversial" etc. Though I would keep a link to the Wiki at least.

You can find a Wiki for the CSS the sub is based on at https://www.reddit.com/r/mindashq/wiki/mindashqcss. I don't see any option for this feature. Does anyone know how to do this?


r/csshelp • • Jun 07 '20

Why does a pseudo element selector override inline styling?

10 Upvotes

Everything I read about precedence and specificity says that inline styling overrides all selectors, including pseudo element selectors. In MDN it says that an inline style is assigned a value of 1000, while a pseudo element selector is assigned a value of 1.

This is a snippet of the code in codepen.

<style>
p::first-letter{
color:green;
}
</style>
<body>
<p style="color:blue">Hello World!</p>
</body>

As you can see the first letter is colored green overriding the blue one set by the inline styling.


r/csshelp • • Mar 10 '20

Resolved Really struggling with something basic. Centering a row.

10 Upvotes

Trying to get the row of cards (bootstrap) to be centered as compared to being held on the left like it is currently. Here is what is looks like now: https://imgur.com/a/Ez6ihM1 and heres html/bootstrap:

    <div class="row m-3">

        {% for each_project in all_projects %}

        <div class="card m-3" style="width: 18rem; height: 18rem;">
            <img src="..." class="card-img-top" alt="...">
                   <div class="card-body">
                    <h5 class="card-title">{{each_project.proj_title}}</h5>
                    <p class="card-text">{{each_project.proj_disc}}</p>
                    <a href="/{{each_project.id}}/" class="btn btn-primary">View Project</a>
                </div>
        </div>
                
        {% endfor %}
        </div>

I also have some External CSS here and there but not enough to matter. Thank you!


r/csshelp • • Feb 16 '20

CSS Grid & Flexbox: Text expanding max-width instead of going to a new line.

10 Upvotes

Hi /r/csshelp

 

I am trying to have 2 sections. One on the left and right.

When I add text to the right hand said (the about) if the text is too long it just expands the grid area instead of going to the line under it.

 

With the provided codepen, You'll see how the sizes are supposed to look but if you add more text or random characters to the profile <p> tag it just expands the box instead of going to the line under it.

 

https://codepen.io/stretch_/pen/JjdXrXQ

 

Thank you for taking the time to read. Any help is appreciated!


r/csshelp • • Feb 14 '20

How do I change upvote downvote position?

10 Upvotes

I would like to have those buttons beneath the post, just like in the android app


r/csshelp • • Feb 01 '20

Resolved So I downloaded the NAUT css file and I'm trying to understand how reddit works with it, for example #sr-header-area, if you put this in the stylesheet reddit knows it should edit the Subreddits bar, my question is where is the list of all these commands I can look up?

10 Upvotes

Currently editing /r/MirrorsEdgeAesthetics and I'm just changing images and colors. I just wonder is there a list/API that shows stuff like ''#sr-header-area = Edits the subreddit bar'', ''#header .pagename = edits subreddit name/title'' etc.

So I can easily ctrl+f on that


r/csshelp • • Jan 01 '18

I made a free tool to easily generate CSS for a palette of author colors on a subreddit. Check it out!

Thumbnail
self.reddithax
10 Upvotes

r/csshelp • • Sep 14 '16

I can't see subreddits' CSS, even though I have enabled it to see their style

10 Upvotes

Hey,

Current screen. On /r/Tarragona, I have no issue, not even with the thumbnails, yet on other pages, even reddit's frontpage. Thumbnails aren't displaying, and I haven't changed anything in my Preferences or RES.

Out of curiosity, I'd like to know what's going on.

Thank you!


EDIT: It appears that my sweet /r/Tarragona has now been affected too. Rip in peace. Dicks Out For CSS!


r/csshelp • • Mar 26 '16

Is it possible to redirect a subreddit url to another subreddit?

10 Upvotes

So I mod /r/soundgarden, and we're looking to make it so that when people click on our subreddit it redirects them to /r/gardening, and vice versa. Is there a way to do this? Perhaps some way to make one of those "click to enter" kind of pages and when people click on the page the embedded link goes to the other subreddit? I think I've seen something similar done before, but I may be wrong. Appreciate any help, even if it's just a "no you can't".


r/csshelp • • Apr 23 '15

Resolved Change text of subreddit title in header and sidebar, while still preserving it as a link.

10 Upvotes

Edit: Thanks. I got it to work, using a combination of the answers given.

I am messing around with /r/Muffinizer1 to see if I can create a good looking Cold War Kids (band) themed subreddit without using a template. I want it to say "COLD WAR KIDS" instead of "Muffinizer1." I was able to accomplish this by doing this:

.pagename a {
    font-size: 0;
}

.pagename:after {
    content: "COLD WAR KIDS";
    color: #000;
    letter-spacing: 10px;
    font-weight: normal;
    font-variant: normal;
    font-size: 30px;
    font-family: "Bodoni 72";
}

however that makes the title no longer a link back to the subreddit, as the "after" text is not part of the link. When I tried to change the content of .pagename a it doesn't work.

I have the same issue with the sidebar. As you can tell I am a pretty big noob, just trying to see if there is a way around this.


r/csshelp • • Jun 24 '14

Is an Announcement Bar "ticker" transition possible?

10 Upvotes

Working at /r/heat and was wondering if it was possible to have the announcement bar text scroll across like a news ticker?

If it is possible, would there also be a way to ticker across different announcements?


r/csshelp • • May 26 '14

Replace words with ***

10 Upvotes

Is there a way to replace a certain word with asterisks?

So, if the word is "hello," when someone types it, it would replace it with h****.

Not sure if that's doable. Thanks!


r/csshelp • • Apr 30 '14

How did /r/circlejerk get its thumbnails to spin?

10 Upvotes

Look here: /r/circlejerk


r/csshelp • • Apr 30 '14

Regarding the CSS update: Animated flairs. Is it possible...?

10 Upvotes

Or am I being too enthusiastic?

because having something like this would be the bee's tits


r/csshelp • • Oct 23 '12

Help me make a list of CSS stylesheet made to be shared by other subreddit.

10 Upvotes

Some redditors designed stylsheets for the specific purpose of being copied by other, for instance by moderators who don't know CSS. This CSS are often well done, well documented.

example :

Get them by adding /about/stylesheet after the adress ex http://reddit.com/r/MusicMods/about/stylesheet

Do you know others ? Please share them.


r/csshelp • • Jul 23 '12

HOWTO: Fully-functional spoiler markup for mobile devices

10 Upvotes

Background

I have come across two ways to implement spoilers on reddit.

  1. The link method, [tomatoes are a fruit!](/spoiler). The text and background are set to the same color, and the :hover class sets the text to a contrasting color. This method has the advantages of being both simple and widely-understood by redditors. However, it breaks if the user has stylesheets disabled or sees the text in their inbox.

  2. The title method, [spoiler](/spoiler "tomatoes are a fruit!"). This works similarly to the first method, but incorporates the ::after pseudoclass and attr(title). The advantage of this method is that it degrades gracefully when the stylesheet is not available: the spoiler text is not visible unless the user hovers the mouse over the link.

Problem

Both of these methods require the user to hover over the link to view the text. Many mobile devices (touchscreen devices, really) do not have any mechanism for hovering, or even any concept of a "pointer".

Solution

Here is a method to implement spoiler markup that works for touchscreen devices. In a general form, it looks like this:

[spoiler](#s "tomatoes are a fruit!")

a[href="#s"] {
    visibility: hidden;
    display: inline-block
 }
a[href="#s"]::after {
    content: attr(title);
    background: black;
    color: black;
    visibility: visible
}
a[href="#s"]:hover::after, a[href="#s"]:active::after {
    color: white;
}

You can see a more complete implementation—suitable for copying and immediate use—at https://github.com/listen2/reddit_misc/blob/master/stylesheets/buffy.css#L149.

This method is no more complicated for users than the title method discussed above. It has all of the same advantages (hover to reveal, graceful degradation), and can also be revealed on a touchscreen device by "clicking" the link.

Explanation

The reveal-on-click is accomplished with the often-overlooked pseudoclass :active. W3C defines it as follows (emphasis added):

The :active pseudo-class applies while an element is being activated by the user. For example, between the times the user presses the mouse button and releases it. On systems with more than one mouse button, :active applies only to the primary or primary activation button (typically the "left" mouse button), and any aliases thereof.

http://www.w3.org/TR/css3-selectors/#the-user-action-pseudo-classes-hover-act

By making the link's href a (nonexistent) anchor on the current page, we can use the :active effect without navigating anywhere. (This introduces a bonus advantage: users who accidentally click on a spoiler are not taken to the infuriating http://reddit.com/spoiler.)

Demo

You can see a working example in the self-post here: http://www.reddit.com/r/buffy/comments/10qt00/halfrek_spike_spoiler/. I have tested it with Opera 12 (desktop), Firefox 10, Chromium 6, Opera Mobile 12, and Android browser 2.3.6. Please let me know if it does not work for you.


r/csshelp • • Jul 19 '12

Detect if person commenting is the submitter

10 Upvotes

When replying to a comment in a thread, I want to detect if the person replying is the submitter and show something to them. Already have the item all set up, but don't see a way to distinguish any commenter from submitter.

After the comment is posted of course it has the [S] indicator, but I need something before they submit their comment.

Is this possible?


r/csshelp • • Jul 13 '12

Resolved Is there a cheat sheet for Reddit CSS in image form?

10 Upvotes

I was thinking it would be easy to have a cheat sheet to be able to know what things are typically called and where they're referring to in the code. Like have a generic page layout on screen and little text boxes with arrows pointing to the various parts the CSS affects such as:

.titlebox ----> .sidecontentbox ---->

etc.

EDIT: I know there's Inspect Image but something a little easier and quicker to visualize.


r/csshelp • • Jan 02 '12

Total noob: How do I implement emoticons into comments?

10 Upvotes

So for example, there are emoticons on the /r/mylittlepony sub, used like (/keyword). How do I go about implementing these into a sub I moderate? Sorry for the sheer incapability.


r/csshelp • • Aug 01 '11

No idea about CSS at all..

10 Upvotes

I want to make a check and x system to add to my posts after they are approved good or bad on r/ReviewThis. I have no idea how to do this or implement this..


r/csshelp • • Oct 27 '21

Flex question

9 Upvotes

Trying to divide up a div horizontally that creates equal divs using flex.

Stack has only floats. I tried flex but it doesn't work.


r/csshelp • • Jul 22 '21

Request Where to get CSS design help?

9 Upvotes

I posted over in /r/ProjectCSS asking for help, but that sub doesn't appear to be very active. Is there a better place to look for help?

Edit: Link for the /r/ProjectCSS request: https://www.reddit.com/r/ProjectCSS/comments/ooutvo/looking_for_css_help_with_rmastersoftheairthe/

I sent messages to those who offered to to help, but I've yet to get a response from either one.

Edit 2: Still looking as of 8/1.


r/csshelp • • Apr 09 '21

How do I change " members " and " online " name to something else on my subreddit community ?

9 Upvotes