responsive

Powered by Drupal
By rprice , 11 June 2015

A quick and easy solution to this problem is to have your JS import the breakpoints directly from the CSS values in the DOM. This solution brings the current breakpoint variable into your JS in a way that's Simple & Lightweight DRY Compatible with all browsers that support media queries (IE9+)

By rprice , 6 March 2015

If you’re not familiar with the general sibling combinator, the ~ li in li:nth-last-child(6):first-child ~ li means “any li elements that occur after li:nth-last-child(6):first-child.” In the following example, the elements each adopt a green font color if there are precisely six of them in total. Web design is about mutability, difference, uncertainty. It’s about not knowing. Uniquely, it is a mode of visual design not about manifesting a form, but about anticipating the different forms something might take.

By rprice , 18 February 2015

Provides 'Masonry' style layouts as an option for rendering the contents of panel panes. Masonry rendering will re-pack panes in your panel to minimize vertical space and provide column-like appearance while the items are still in natural (horizontal) order on the page. With "Responsive" layouts happening everywhere, the Panels approach of locking everything into a grid can provide a bit of a dilemma, because your column count is pretty static. But the Panels approach of letting an editor drop elements into a page in certain zones still works well in some cases.

By rprice , 18 September 2014

Antwort offers responsive layouts for Email that both fits and adapts to client widths. Don't underwhelm desktop users with single column layouts that work for mobile. Antwort offers columns on desktop that automatically become rows on mobile. Works on mobile: Mail on iOS and Email on Android. Works in major clients like Hotmail, Gmail, Yahoo! and AOL. Even works in Outlook (2000+). Bulletproof layouts: made with dynamic content in mind. Minimalist in design for maximum customizability.

By rprice , 15 May 2013

First we will apply the css for both the accordion and the drop down, we will put the accordion styles in the global.css stylesheet in your subtheme, and the dropdown styles in yoursubtheme-alpha-default.css file. In my case the menu block has an id of #block-menu-menu-accordion, so replace that id with your own menu block id.