March 25, 20206 yr Hi, In terms of starting a new project, so far I've been using Bootstrap. I want to start a new project not relying on it (want to do more flexbox/grid). Can anyone recommend some good practice html5/css starter template or framework (looked at html5 boilder plate but it looks like an overkill for my needs). What I'd like to have is: - responsive/mobile friendly - seo friendly - have build in sass I don't think I'm able to put it together from scratch myself. I've tried Cirrus but got stuck right at the beginning where (after running npm install / gulp compile/minify), I had no idea where to put index.html or what to do next. Thanks in advance
March 26, 20206 yr A project for what? Why does it have to be flexbox/grid? If you want SEO friendly the simpler the code the better. And not so sure SASS is built into templates the way you want. It's a preprocessor that compiles the CSS your template uses. It's not really an internal thing to a template. And it's this compiled CSS that makes the template responsive.
March 26, 20206 yr Author Thanks for your reply. The project is for a website that I'll turn into a wordpress template/theme. I'd like to practise flexbox/grid for layout. So far I've been mostly using Bootstrap's grid system.
March 26, 20206 yr Ah. It's that's the case I'd advise against using bootstrap or any other grid system. WordPress templates are best kept really simple so the block editor has more flexibility. And using SASS doesn't work too well with WordPress. OK for theme development but once complete it's redundant. The responsive part of a wordpress theme can be done with just a few lines of CSS. On my most recent theme I did it all with just two media queries. Nearly all the wordpress theme code is PHP. Hardly any HTML at all. This is a good place to start: https://underscores.me/ Here are some others: https://colorlib.com/wp/wordpress-starter-themes/
March 29, 20206 yr Author Thank you. I'm ok with media queries. I just read somewhere recently that with css grid and flexbox there's little reason to use media query any more. Does not matter - I'm fine with media queries. Thanks for the links. I ended up with Understrap.
March 29, 20206 yr CSS grid and flexbox still need media queries. Without these the browser won't know where the breakpoints are.
Create an account or sign in to comment