background preloader

Slick login form with HTML5 & CSS3 – Red Team Design

Slick login form with HTML5 & CSS3 – Red Team Design
We already know that CSS3 has the ability to create a lot of new possibilities to design and implement better web forms. Also, HTML5 has its important role when it comes about creating more usable forms, without actually needing any Javascript code. Knowing that, check out the below preview to see the login form we're going to create in this article: View demo Markup <form id="login"><h1>Log In</h1><fieldset id="inputs"><input id="username" type="text" placeholder="Username" autofocus required><input id="password" type="password" placeholder="Password" required></fieldset><fieldset id="actions"><input type="submit" id="submit" value="Log in"><a href="">Forgot your password? The HTML5 stuff New HTML5 attributes descriptions, according to latest specifications: The CSS For this article, I will not paste the whole lines here. Paper stack effect Box-shadow will help us creating this nice effect by defining multiple shadows that actually overlap. Stitch effect Subtle gradient lines The final result

How to Apply CSS3 Transformations to Background Images Scaling, skewing and rotating any element is possible with the CSS3 transform property. It’s supported in all modern browsers (with vendor prefixes) and degrades gracefully, e.g. Great stuff. However, this rotates the whole element — it’s content, border and background image. What if you only want to rotate the background image? Currently, there’s no W3C proposal for background-image transformations. Fortunately, there is a solution. View the demonstration page… Transforming the Background Only The container element can have any styles applied but it must be set to position: relative since our pseudo element will be positioned within it. We can now create an absolutely-positioned pseudo element with a transformed background. Note you may need to adjust the pseudo element’s width, height and position. Fixing the Background on a Transformed Element All transforms on the parent container are applied to pseudo elements. Please view the demonstration page for examples.

Css tips and tricks - Red Team Design How to Create Multiple Borders in CSS3 The CSS2.1 border property has served us well but it’s a little basic. What if you require two or more borders in different colors? The CSS3 border-image property is an option but it still requires Photoshopping shenanigans and the syntax is quite complex. View the multiple border demonstration page… box-shadow has six arguments: inset: (optional) if defined, the shadow will appear inside the element.horizontal: the x distance from the elementvertical: the y distance from the elementblur: (optional) the blur radius, i.e. 0 for no blurspread: (optional) the distance the shadow spreads, i.e. 1px extends the shadow 1 pixel in all directions so it’s 2px wider and taller than the parent elementcolor: the shadow color The little-used spread argument can be used to create a border. Unlike the border property, box-shadow permits multiple shadows separated with a comma. Note: Some will consider it a hack, but it’s an quick solution for multiple borders which doesn’t require images.

InMotion Hosting - HTML5 Cheat Sheet Hosting Comparisons Embed it! <img src=" width="800" height="1487" border="0" alt="Where Does Your Website Live?" /><div>InMotion Hosting - <a href=" of Web Hosting Plans</a></div> SEO Audit Checklist <img src=" width="1000" height="1900" border="0" alt="20-Minutes or Less SEO Audit Checklist" /><div>InMotion Hosting - A Los Angeles <a href=" Hosting</a> Company</div> HTML5 Cheat Sheet - Tags HTML5 Cheat Sheet - Event Handler Attributes HTML5 Cheat Sheet - Browser Support CSS Tutorials In this article you will get access to one of the largest collections ever of CSS Tools, Tutorials, Cheat Sheets etc. It builds on previous CSS posts in tripwire magazine with the purpose of creating a one stop fit all CSS resource. Several new resources have been added. Please comment if you know a great CSS resource that didn’t make it on the list and I will add it ASAP. Advertisement Index CSS getting started and reference resources CSS Basics Large getting started guide with everything you ever wanted to know about the basics of CSS Creating a CSS layout from scratch This guide will attempt to take you step by step, through the process of creating a fully functioning CSS layout. Webdesignfromscratch, CSS Introduces most elements of we b development, including css. 10 Principles of the CSS Masters This is really essential tips from true css experts. CSS Specificity: Things You Should Know Solving 5 Common CSS Headaches CSS is a relatively simple language to learn. Sure, anyone can write CSS.

HTML5 Reset :: A simple set of templates for any project 20 Best Websites to Learn and Master CSS CSS (Cascading Style Sheets ) is a simple design language intended to simplify the process of making web pages presentable. It is the most common application in styling web pages written in HTML and XHTML, but the language can also be applied to any kind of XML document, including SVG and XUL, as defined. It handles the look and design of web pages. Using CSS, you can control the color of the text, style fonts, the spacing between paragraphs, how columns are sized and laid out, what background images or colors are used, as well as a variety of other effects. This next article is about 20 Best Websites to Learn and Master CSS. Csstutorial This website is all about CSS, a key tool in web design. cssbasics In this website, you will learn the separation of style from content, and discover all the basics of CSS design.Visit Site w3schools In this CSS website you will learn how to use CSS to control the style and layout of multiple Web pages all at once.Visit Site htmlgoodies cssdog htmldog csseasy

Achieving Multi-Step Animations With CSS Transitions Multi-step CSS animations are easy with keyframes, but what if we want to use plain old transitions to achieve a similar effect? Further, how do we take a single hover event and translate that into multiple animations on different elements? The answer lies in using buried hovers, a simple and effective trick you should definitely try out. Inspired By Actual Events Chris Coyier from CSS-Tricks serves more frequently as the inspiration for my articles than perhaps any other author. Recently, he published a piece on CSS that usually confuses beginners and in it he very briefly explained what he referred to as “buried hovers”. What Is a Buried Hover? The concept behind a buried hover is fairly simple. Here we have a simple link that changes color upon hover. Here the declaration looks almost the same but has a dramatically different effect. It’s important to note that IE6 doesn’t support non-link hovers. Simulating a Keyframe Animation Getting Started: The HTML Basic CSS Defining the Animations

50 New Useful CSS Techniques, Tutorials and Tools Advertisement These are great times for front-end developers. After months of exaggerated excitement about HTML5 and CSS3, the web design community now starts coming up with CSS techniques that actually put newly available technologies to practical use instead of abusing them for pure aesthetic purposes. We see fewer “pure CSS images” and more advanced, clever CSS techniques that can actually improve the Web browsing experience of users. In this post we present recently released CSS techniques, tutorials and tools for you to use and enhance your workflow, thus improving your skills. CSS Techniques Now Playing: transitions and animations with CSSTim Van Damme showcases a fairly simple CSS design that uses transitions, animations and subtle hover-effects to produce an engaging user experience. CSS3 range slider, checkbox + radio buttonA demo of HTML input elements made with CSS3. CSS3 Media QueriesCSS2 allows you to specify stylesheet for specific media type such as screen or print.

Using CSS Text-Shadow to Create Cool Text Effects The CSS3 text-shadow property has been around for some time now and is commonly used to recreate Photoshop’s Drop Shadow type shading to add subtle shadows which help add depth, dimension and to lift an element from the page. This isn’t all the text-shadow property is capable of though, by getting creative and playing around with the colours, offset and blurring we can create some clever and pretty cool text effects! Check out the six text effects of vintage/retro, inset, anaglyphic, fire and board game in the demo, then copy the code snippets below to use the effects in your own designs. Needless to say you’ll need a text-shadow supporting browser (Safari, Chrome, Firefox) to see them in all their glory. View the demo The text shadow CSS property is used to add shading to any text related HTML element. text-shadow: 5px 5px 0px #eee, 7px 7px 0px #707070; How it works: View the demo The neon text effect is made up of 8 levels of shading. View the demo text-shadow: 0px 2px 3px #666;

Related: