Pagepro Blog

Pagepro Blog


Recent Posts


Recent Comments


Archives


Categories


Meta


Navigation
Tagsass
Featured

JavaScript

Moving best (S)CSS practices to styled-components – part 1

Posted on November 6th, 2018.

Styled-components became a really powerful library for creating styles in React applications. But if you are a front-end developer and you know good practices to create styles in a traditional way (with BEM methodology or by using SASS preprocessor for example) you may experience some difficulties at the beginning of your journey with...

Featured

HTML

How to name your CSS components?

Posted on December 6th, 2016.

Sometimes beginners are wasting much time thinking about a good class name for specific HTML element (component). We’ve prepared a list to help with getting some fresh ideas. Wrappers Elements for wrapping general layout. .wrapper .container .inner .outer .row Main Sections Root sections of the page. .header .footer .section...

Featured

Tooling

Creating AMP boilerplate with SASS, Gulp and BrowserSync

Posted on November 22nd, 2016.

Why you need another AMP Boilerplate? Because you can find some problems when creating an AMP Project: You have to write vanilla CSS No support for preprocessors No support for linking CSS from external files there is no official SASS boilerplate for AMP. Step 1: initialize npm The project will be based on npm so let’s initialise it: npm...