What is the appropriate use of the Article element?

The important thing to understand about articles and sections is that they are sectioning elements. Each follows a common pattern: <sectioning_element> <heading_or_header> … the body text and markup of the section <footer> </sectioning_element> The footer is optional. Sectioning elements should have a “natural” heading. That is, it should be easy to write an <h?> element … Read more

Viewport meta tags vs Media Queries?

Both are necessary. Media queries are used to have different css for different devices its like the if condition for different devices. Viewport meta tag is to set tell the device to take the width according to this tag. Its like a reset for devices if its not used device will adjust the layout according … Read more

How to center text with Markdown?

Markdown does not support this feature natively, but you can achieve this wrapping Markdown into HTML. As a rule of thumb, most ‘flavors’ of Markdown will render this as centered text: <p style=”text-align: center;”>Centered text</p> Specifically for Grav, as their documentation states, you should do these following steps: in your system configuration file user/config/system.yaml make … Read more

What browsers support `overflow-y`?

No, overflow-x and y are not CSS3 selectors. They are simply properties, similar to overflow but with direction restrictions. From http://reference.sitepoint.com/css/overflow The CSS3 overflow-x and overflow-y properties are partially supported in Internet Explorer for windows versions 5 and 6 and fully supported in Internet Explorer versions 7 & 8. Safari 3+, Chrome 2+, Firefox 2+ … Read more