All threads / I tried to align this TEXT center.
Ask A Question

Notifications

You’re not receiving notifications from this thread.

I tried to align this TEXT center.

serjio asked in CSS

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 to wrap my head around styling my webpages. I read through some basic CSS styles online and I got a hang of some basic stuff, but the major problem I have, is trying to design a good layout. I used to heavily rely on bootstrap (without really giving a single thought on how it is working). But I’m now more interested in learning CSS myself, since a lot of the animations and styles can now be accomplished without the need of JS, but knowing CSS I feel will make it complete.

Flexbox makes centering things vertically and horizontally really easy. I reference the TailwindCSS docs regularly for that. https://tailwindcss.com/docs/justify-content/#app

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 to wrap my head around styling my webpages. I read through some basic CSS styles online and I got a hang of some basic stuff, but the major problem I have, is trying to design a good layout. I used to heavily rely on bootstrap (without really giving a single thought on how it is working). But I’m now more interested in learning CSS myself, since a lot of the animations and styles can now be accomplished without the need of JS, but knowing CSS I feel will make it complete.

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 61,257+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2022 GoRails, LLC. All rights reserved.