background preloader

Focal Point: Intelligent Cropping of Responsive Images

Focal Point: Intelligent Cropping of Responsive Images
The practice of implementing responsive images is still in its infancy. We’ve seen a lot of ideas and suggestions for how it should be done and we’re bound to see a lot more. Today we’re going to look at a fascinating little framework that allows you to not only automatically resize your images when the viewport changes, but also crop the images with a specific important focal point in mind. Amazingly enough, it does all this with pure CSS. Read on to see how it works. Meet Focal Point Focal Point is a GitHub project and CSS framework created by Adam Bradley. The problem with this idea of course is that if you arbitrarily crop an image, you could be cutting out the most important part of the image! Fortunately, Focal Point allows you to specify a targeted area of the image to retain (the focal point). How Does It Work? Implementing Focal Point is a pretty unique process, but it’s quite easy. The process here is to find the face, then count grid units from center. The Code Build It

http://designshack.net/articles/css/focal-point-intelligent-cropping-of-responsive-images/

Related:  Front-endjugurtayahi

The top 25 responsive web design tools Over the past few years we've seen an explosion of web-enabled devices with varying resolutions, capabilities, form factors, pixel densities, interaction methods and more. This onslaught of connected devices is just the beginning, and we're bound to see people accessing the web from a greater number of devices in the coming years. It's futile to create a dedicated web experience for every single device class out there, and the need to create a smart, flexible, adaptable web experiences is becoming more apparent every day. Responsive/adaptive/multi-device web design (whatever you want to call it) is here to stay. Just because responsive design is becoming necessary doesn't mean it's easy. We're tasked with creating experiences that are simultaneously aware and agnostic of device context.

Developing WordPress Themes Using Responsive Frameworks Responsive design is slowly but surely becoming an expected standard for web developers. This tutorial will show you how to add a responsive framework to your next WordPress theme. What Is Responsive Design? It used to be you only had to worry about website consistency across multiple browsers, but now we have to look at the bigger picture – consistency across multiple devices. Create an Animated Share Menu With CSS Sharing is an integral part of the web experience and designers are always looking for new and interesting ways to highlight or show off the sharing portion of their pages. Today, we’re going to build a simple sharing menu that integrates an icon font as well as some animations. The final product is inspired by Disqus, but has a unique twist of its own.

10 Useful jQuery Lightbox Plug-ins We are certain that you are already familiar with the concept of jQuery LightBox plugins. These plugins are basically used to focus the images, video or html content in a unique way on the webpage that you are currently viewing. There are many plugins available online for you to choose from and the best part is that they are pretty snappy because not a lot of coding is involved when these plugins are designed.

15 Best Responsive Web Design Testing Tools Responsive Web Design is regarded as being the approach which suggests that web design and development should respond to the end-user’s behavior and environment based on their screen size, platform and orientation. Responsiveness consists of a mix of flexible grids and layouts, images and an intelligent use of CSS media queries. When the end-user switches from their laptop over to their iPad, the website being viewed should automatically switch to accommodate that particular resolution, image size and scripting abilities. In other words, the website should have the technology to automatically respond to the end-user’s preferences.

How To Display Your Last Tweet Using Javascript And The Twitter API The other day I was working on a small project of mine, and it doesn’t use a content management system such as WordPress or Joomla. It’s just all html and css to style the pages. So I wanted to display my last tweet from twitter, and jazz it up using css. Now when people usually want to display their last tweet, and are running wordpress, they usually just install a plugin to do it for them.

A Complete Guide to Flexbox Background The Flexbox Layout (Flexible Box) module (currently a W3C Last Call Working Draft) aims at providing a more efficient way to lay out, align and distribute space among items in a container, even when their size is unknown and/or dynamic (thus the word "flex"). The main idea behind the flex layout is to give the container the ability to alter its items' width/height (and order) to best fill the available space (mostly to accommodate to all kind of display devices and screen sizes). A flex container expands items to fill available free space, or shrinks them to prevent overflow. Most importantly, the flexbox layout is direction-agnostic as opposed to the regular layouts (block which is vertically-based and inline which is horizontally-based).

10 Best Responsive HTML5 Frameworks and Tools This is a review of 10 open source responsive HTML5 frameworks, boilerplates and tools for front-end web development (HTML, CSS, and JavaScript). I’ve included tutorials and resources related to each of them, and a comparison table at the end. 1. The 20 best tools for choosing a colour scheme The web is absolutely chock-full of colour scheme tools that promise to help you reach colour nirvana. Not all tools are created the same, though, and many are no more than basic rip-offs of the more popular or useful offerings. So to make things easier, we've rounded up some of the best tools for choosing colour schemes available today. They'll help save you having to sort the wheat from the chaff and enter colour heaven... 01.

5 Reasons Your Small Business Should Start a Podcast Today Since the dawn of digital there has been a ton of talk about what your company should be doing for digital marketing. Whether it is paid search, social media or blogging, there is no shortage of ideas and advice. However, one of the undeniable forces drawing businesses and their customers closer together is the ability to weave a better story. Responsive Web Design with HTML5 and the Less Framework 3 What’s responsive web design? It’s a relatively new technique, first described in mid-2010 by Ethan Marcotte in his A List Apart article of the same name. Put simply, it involves providing a number of site layouts adapted to various screen widths, and then serving those layouts accordingly thanks to the use of CSS3 media queries.

Related: