background preloader

CSS3 Filters: Altering HTML and Images with just CSS

CSS3 Filters: Altering HTML and Images with just CSS
CSS3 Filters are a quite interesting offshoot from SVG, allowing you to modify HTML elements and images with blurs, brightness and a lot more. In this quick tutorial we’ll go over exactly how they’re going to work. Using just CSS we can accomplish some pretty complicated effects. filter: filter(value); As you might expect though, browser prefixes will be required. -webkit-filter: filter(value);-moz-filter: filter(value);-o-filter: filter(value);-ms-filter: filter(value); There are quite a few filter, so to get a better idea lets take a look at them individually. filter: blur(5px) brightness(0.5); There are a few filters that I won’t outline below, but these can be easily accomplished with already existing CSS (opacity and drop shadows). I will provide the filtered version of the photo (the first photo) and a picture of what the filter should look like (the second photo) should you be using a browser that can’t see filters. Blur Brightness Saturation Hue Rotate Contrast Invert Grayscale Sepia

Animating CSS Shapes with CSS Animations & Transitions Notes About Current Browser Support for CSS Shapes: The Shapes properties are still in flux at this time. Most of this article's demos use the shape-inside property, which will be temporarily removed from Webkit and Blink. The principles of animating shapes is applicable to both CSS Shapes and CSS Clipping masks. All the demos in this article use clipping masks to visualize CSS Shapes. Today we're going to be talking about animating CSS shapes with CSS animations. This is the third article in a series of articles I'm writing about CSS shapes, so in this article I'm assuming you have a basic understanding of how CSS shapes are created. There is a bug in some versions of Safari causing it to crash when the clip-path property is animated. Animatable CSS Shapes There are two ways we can create a shape with CSS shapes: using an image URI which the browser uses to extract the shape from, and using one of the available CSS shapes functions, such as polygon() and circle(), among others. 1.

CSS Overlay Techniques There are several techniques for creating overlays: from using an absolutely positioned element to outlines and pseudo-elements. In this article we are going to explore each technique's styles with their pros and cons. Design patterns, a set of best practices and techniques that aim to solve some of the most common design “problems”, are usually presented in the context of design principles. One of these design principles is the “Stay On Page” principle. We can decide intelligently when to keep the user on the page and model his process. Lightweight overlays can be used for asking questions, obtaining input, introducing features, indicating progress, giving instructions, or revealing information. When the user interaction is only accepted in the pop-up modal, a Lightbox effect is usually applied and the rest of the page is dimmed, indicating its inactivity. Technique #1: Absolutely positioned element I have set up a pen on Codepen so you can test the result of this technique here.

Hover.css - A collection of CSS3 powered hover effects All Hover.css effects make use of a single element (with the help of some pseudo-elements where necessary), are self contained so you can easily copy and paste them, and come in CSS, Sass, and LESS flavours. Many effects use CSS3 features such as transitions, transforms and animations. Old browsers that don't support these features may need some extra attention to be certain a fallback hover effect is still in place. Licenses Hover.css is made available under a free personal/open source or paid commercial licenses depending on your requirements. Personal/Open Source For personal/open source use, Hover.css is made available under a MIT license: Use in unlimited personal applications Your application can't be sold Your modifications remain open-source Free updates Read full license Commercial For commercial use, Hover.css is made available under Commercial, Extended Commercial, and OEM Commercial licenses. Commercial License Purchase | Read full license Extended Commercial License

9 Most Common IE Bugs and How to Fix Them Internet Explorer - the bane of most web developers' existence. Up to 60% of your development can be wasted just trying to squash out IE specific bugs which isn't really a productive use of your time. In this tutorial, you are going to learn about the most common IE bugs and rendering disparities and how to easily squash them or deal with them. Interested? 1. Centering an element is probably something every web developer has to do while creating a layout. Consider the Following Code: The output you'd expect: But what IE actually gives you: This is mainly due to IE6 in quirks mode and below not recognizing the auto value we set to the margin property. The Fix The easiest and most reliable way to center content for IE6 and below is to apply text-align: center to the parent element and then apply text-align: left to the element to be centered to make sure the text within it is aligned properly. 2. Almost every web developer uses lists to create his navigation. And the IE screen shot: Fix #1 3.

Visual Basic 2012 Tutorial Visual Basic 2012 was launched by Microsoft in 2012. It is integrated with other Microsoft Programming languages C# and C++ in a package known as Visual Studio 2012. It is a full fledged object oriented programming(OOP) language. However, you don’t need to have prior knowledge of OOP to learn Visual Basic 2012 programming.Visual Basic 2012 retains most of the syntaxes that are similar to older versions of Visual Basic. Start learning VB2012 by following the lessons below: script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”> If you wish to learn more about Visual Basic 2012, you can download our E-Book, Visual Basic 2010 Made Easy written by our webmaster and tutor Dr.Liew.

RSS Submit In last four years RSS has become the major way to notify readers about recent updates. It has almost replaced traditional e-mail newsletters and other subscription-based methods due to its effectiveness and ease to use. RSS feeds, however, still need subscribers, so submitting an RSS feed to various RSS directories and search engines should be the vital part of any promotion campaign. Automatic RSS Submitter RSS Submit does the entire job for you. Faster, Smarter RSS Submission Thanks to its multi-threading nature, RSS Submit does its job smoothly and quickly, fully utilizing your bandwidth while not overloading your system. Freshly Squeezed RSS Directories RSS Submit includes a built-in database with handful of various RSS directories and search engines it can submit RSS feed to. Summarizing everything, RSS Submit features: And finally 100% free lifetime upgrades make the tool one of the most cost-effective solutions in the industry!

Related: