Please note: The demo’s below have only been tested in Chrome. The clip-path property is not yet ready for use in production websites.
Clip path is a new CSS property steadily being rolled out across the modern browsers, which gives you the ability to cut out shapes from elements. Here I show you how you can use clip-path to create some interesting effects and animations.
My initial idea was to use clip-path to create a patterned image, and then animate the image. To start off with, I went with a diamond checker board pattern. So I created a dozen or so div tags, all with the same fixed background image, and then used flexbox to lay them out within a box, filling the box width ways and height ways. I then added a clip path, using a rhombus shape. However, the end result looks a bit like this:
Where we are clipping each div to show the image background, we’ll just see white. To fill in the gaps, we need to duplicate this layer of boxes by wrapping them in another div tag, duplicating, and offsetting the second layer to position them correctly.
The end result looks something like this:
Now we can start to have fun animating our rhombus’ to create some fun effects.
Using CSS3 3D transforms, we can make each rhombus rotate in. We could start off with the second layer of rhombus’ rotated backwards so the image is upside down. Then, when you hover on the image, they rotate back in to zero degrees.
Then we could do something similar to the first layer, but with a slightly different rotation.
Here’s another idea:
What I really wanted to do though was create a slightly different effect using circles instead of a rhombus. Each circle would rotate in at a different time, randomly. The end result is below. Hopefully what I have demonstrated here is how you can use a combination of clip-shape, CSS transforms and transitions to create some amazing effects – all in pure CSS. There’s lots of other animations you could achieve, different clip path shapes, more layers, the possibilities are endless. Check out the code, have a play around and see what you come up with.
More about clip paths:
In order to promote your business and reach consumers that spend an entire 24 hours a week online, you need to make sure that you have a viable social media strategy in place.
By posting unique and interesting content on your social media platforms, and by actively engaging with followers, you can start to turn this into a funnel for generating leads.
In order to stay on top of your social media strategy, it’s important to have some form of social media management software to do some of the heavy lifting. Software such as this is imperative for scheduling, tracking and monitoring social media content.
At its best, social media management software can help you not only plan your content months in advance, but also remain reactive by letting you tune into ongoing news stories or trending topics.
There are a whole bunch of social media management companies out there and all of them offer roughly the same sort of package but Hootsuite is the only one that offers an actually free service (as opposed to just a free trial period).
They do try to hide it on their website though so make sure you follow this link in order to get to the right page.
The free version of this software lets you:
Of course, there’s also a number of paid-for packages that you can buy from Hootsuite that give you access to a great number of services including higher ad spend budgets, automated post scheduling and custom analytics.
But if you’re a small business looking to get started, the free version of the software should be comprehensive enough to allow you to get your social media strategy in motion.
We’ve said before that the secret to a successful lead generation strategy is to keep analysing and refining your methods. Well, website tracking software is the best way to conduct this analysis.
By digging into the analytics of your visitors’ actions, you can start to gain a better picture of why people come to your site, what they want from it, what they dislike about it and how you can improve upon their experience next time.
There are a wide variety of services that can fall into the category of website tracking software, including heatmaps, funnels, user polls, surveys, visitor recordings and more.
Basically, any kind of software that collects data about the ways in which your visitors interact with your site can be considered website tracking software.
Whereas there are a multitude of smaller software companies that focus in on just one website tracking service, Hotjar offers an array of useful tools.
Hotjar tools include:
Hotjar’s free service is able to collect data from 2000 page views a day and will give you access to up to 300 visitor recordings and 3 heatmaps, forms, funnels, polls and surveys. Unlimited users can be added to your account and Hotjar will also store your data for a full year.
While we’d normally recommend free services when possible, it’s probably worth paying for Hotjar’s Plus plan to begin with.
For just under £25 a month you can collect data from 10,000 page views a day and have unlimited services and reports. Plus there’s even a 15-day free trial for you to test out whether you like their software or not.
Lead generation doesn’t have to be an expensive endeavour.
What’s important is that you put real effort into all of your interactions with potential leads - whether that’s through educational and informative blog posts, social media interactions or even just a chat on the phone.
If you believe in your business’ ability to help its customers then all you have to do is let that shine through.
Ultimately, these tools are just there to help you meet potential leads on their level. The rest is up to you.
Stay up to date with the latest marketing, web design, and branding tips and news.