Where can I find corrective exercises for CSS layouts?

I disabled CSS. I’ve been trying to use it for almost a decade and still can’t understand how floats work [floats are just an example].

Is there a website that views various real world layout templates?

+4
source share
5 answers

Read Zen CSS Design .

His book is about design in general, but reading it will show you how to get into the right “way of thinking” for using CSS in design (including floats, absolute, relative, etc.).

0
source

It really depends on how you want to start learning CSS, here is a random url that gives you a few key approaches:

I would suggest doing something like the beginning of the layout, finding out something like position and how it works, or deciding how you mentioned floats .

There are many possibilities to learn, and my experience is that you have to solve one element at a time.

Otherwise, if you want to start a fake proof, check out a video tutorial site like lynda.com (I know that many people scoff at it, but it's great for beginners)

Then again, if you do not want to pay tuition / video, google for your css themes.

I learned a lot from CSS Play: http://www.cssplay.co.uk/

0
source

Floats seem strange because they exist :) and partly because designers were forced to use and abuse them due to poor support for everything else, especially. display property! When you have a choice between table layouts and floats ...

Check what you can do with display: table-cell or display: inline-block (the latter is a cross browser if you point IE6 / 7 to use display: inline plus everything that hasLayout gives for it like width or zoom: 1; ), this can save you some headaches.

0
source

I'm sure you can find a lot of CSS tutorials on the Internet, but I found that most of them usually tell you how to achieve a certain result without explaining how and why it works. Then, when something does not work properly in a specific browser or specific configuration, you are left to scratch your head. Instead, go to your local mega-bookstore and see if you can find a book called CSS Mastery by Andy Budd and just give her one good read through. On first reading, my CSS has improved significantly. In the second reading of the second edition of this book, I understood many strange nuances. Go check it out.

0
source

Source: https://habr.com/ru/post/1343876/


All Articles