A CSS smiley face with dynamic googly eyes

In the previous article I demonstrated how to make an element rotate to follow the position of a cursor or a touch on the screen. At the time, I explained that the technique was not necessarily limited to a single element: in this article, I’ll show how to apply the code to two elements simultaneously, in the form of eyes that follow the mouse / touch position.

Who doesn’t love googly eyes.



2 thoughts on “A CSS smiley face with dynamic googly eyes”

  1. Google is paying 97$ per hour! Work for few hours and have longer with friends & family! !mj251d:
    On tuesday I got a great new Land Rover Range Rover from having earned $8752 this last four weeks.. Its the most-financialy rewarding I’ve had.. It sounds unbelievable but you wont forgive yourself if you don’t check it
    !mj251d:
    ➽➽
    ➽➽;➽➽ http://GoogleFinancialJobsCash251GroupCloudGetPay$97Hour… ★★✫★★✫★★✫★★✫★★✫★★✫★★✫★★✫★★✫★★✫★★✫★★✫★★✫★★✫★★✫★★✫★★✫★★::::::!mj251d:….,….

Leave a Reply

Your email address will not be published. Required fields are marked *