background preloader

Front end portfolio

Facebook Twitter

Animating SVG with CSS. There isn't just one way to animate SVG. There is the <animate> tag that goes right into the SVG code. There are libraries that help with it like Snap.svg or SVG.js. We're going to look at another way: using inline SVG (SVG code right inside HTML) and animating the parts right through CSS.

I played with this personally recently as my Alma mater Wufoo was looking to freshen up the advertising graphic we're running here. The finished product is pretty simple. Let's check out how it's done. 1. This might seem like an how to draw an owl moment, but this article is about animation so let's get there as quickly we can. My plan for this ad was to make a super simple Wufoo ad with their classic logo, colors, and general branding. Make the letters kind hop off the page a little. I put all the parts together in Illustrator. Notice how the logo and tagline text are outlines.

When I save this out from Illustrator, that will be left as a <text> element. 2. Illustrator can save this directly as SVG: 3. 10 great HTML5 and CSS3 tutorials to master web development | DesignHooks. HTML5 is the latest version of the amazing markup language. It’s a term for the next generation of web apps, how functionality will be expanded with better markup HTML, better style CSS, and better interactivity JavaScript. HTML5 was introduced in order to support various features that the modern day websites require. To begin with HTML5 supports the multimedia; in fact this language support both audio and video files to be played in a browser. Furthermore HTML5 offers support for canvas areas like interactive animated infographic.

On top of this, HTML5 supports the Geolocation API to identify user’s location and allows you to add valid data attributes, which helps in storing the data without affecting the web page UI. These data attributes can be added in a hidden manner from the user and can be later used by JQuery or your JavaScript functions. Have a look at these step by step tutorials to learn and handle HTML5 and CSS3 markup languages.

“Card Fan” CSS Gallery Reveal In Four Lines of Code. I found this effect used on YouTube’s Google+ page and decided to duplicate it in CSS3: if you’re familiar with CSS, and are prepared to use a little CSS3 animation, the technique is not difficult to achieve at all. (Move your mouse over the image above to see the final version). First, the images you wish to use in the fan need to be all the same size, so that they hide each other neatly when stacked. Once you have all of your images the same size, place them inside a single <div> the same width and height as the images; I’ve given this div an id of cardfan.

(The height on the div is necessary to create space underneath it, as the photos will be positioned absolutely.) You may wish to use margin: 0 auto on the div to get it to the middle of the page. As all the images have the same dimension and will be given the same appearance, they can all be styled with a single descendant selector, to create a frame and drop shadow: Now to get the images to move. Transition: all .6s linear; Pure CSS Off-Screen Navigation Menu. Smart Fixed Navigation. Smart Fixed Navigation. Change text on :hover and :active. CSS Image Opacity / Transparency. Figure caption hover effect. Caption Hover Effects. A tutorial on how to create some subtle and modern caption hover effects. View demo Download source Today we want to show you how to create some simple, yet stylish hover effects for image captions.

The idea is to have a grid of figures and apply a hover effect to the items which will reveal a caption with the title, author and a link button. For some of the effects we will use 3D transforms. The aim is to keep the effects subtle and provide inspiration for many different variations. Please note: this only works as intended in browsers that support the respective CSS properties. The images used in the demos are Dribbble shots by talented Jacob Cummings.

Let’s get started. The Markup The structure of our grid and the figures will be made of an unordered list and each item will contain a figure element. This is the default structure for all the grid examples. But first let’s define the common styles for all effects. The CSS The common styles for all the figures is the following. Effect 1 Effect 2. 30+ Beautiful pure CSS3 hover effects on images - WpFreeware. Are you looking for some great CSS3 image hover effects? If yes then go ahead, I covered here some of the best CSS3 hover effects for images. As a web designer often we need to implement special effects into our design to make a stunning website template. Everyone wants to see his website unique and that’s why design is a strong fact now for any kind of website. We have to know some languages for designing beautiful & stylish templates like HTML, CSS, Javascript, jQuery etc.

If you know all those languages then you can make any kind of unique effects/ plugins specially jQuery which is a very popular javascript library. But if you don’t know javascript, jQuery or CSS3 well then what? Some websites using odd design and for that they lose their visitors. CSS3 beautiful hover effects These effects are created using CSS3 transition, transform & animation properties which you can use to implement beautiful hover effects on your images. PreviewRead More PreviewRead More PreviewRead More Preview. The figure & figcaption elements. In traditional printed material like books and magazines, an image, chart, or code example would be accompanied by a caption. Before now, we didn’t have a way of semantically marking up this sort of content directly in our HTML, instead resorting to CSS class names. HTML5 hopes to solve that problem by introducing the <figure> and <figcaption> elements.

Let’s explore! The <figure> element The <figure> element is intended to be used in conjunction with the <figcaption> element to mark up diagrams, illustrations, photos, and code examples (among other things). The figure element represents a unit of content, optionally with a caption, that is self-contained, that is typically referenced as a single unit from the main flow of the document, and that can be moved away from the main flow of the document without affecting the document’s meaning. The <figcaption> element The <figcaption> element has been the subject of much debate.

Using <figure> and <figcaption> Figure with an image The code: Colourful Flower Popup Menu. Responsive Hexagon Gallery with jQuery and CSS3. This is a jQuery & CSS3 based responsive hexagon grid layout for your image gallery that uses Geensock's TweenMax for fancy hierarchical timing animations. See also: How to use it: 1. Create a hexagon grid layout from an html unordered list. 2. The CSS rules to style the hexagon grid. 3. 4. Responsive Hexagon Gallery with jQuery and CSS3. HTML Symbols, Entities, Characters and Codes — HTML Arrows. Adjustable hexagon grid. #Codevember _ Day 8 _ Flexible flowers on earth. Claudio Calautti | Creative Front-end Developer London.