background preloader

Web

Facebook Twitter

Adaptive & Mobile Design with CSS3 Media Queries. Screen resolution nowsaday ranges from 320px (iPhone) to 2560px (large monitor) or even higher. Users no longer just browse the web with desktop computers. Users now use mobile phones, small notebooks, tablet devices such as iPad or Playbook to access the web. So the traditional fixed width design doesn't work any more. Web design needs to be adaptive.

The layout needs to be automatically adjusted to fit all display resolution and devices. This tutorial will show you how to create a cross-browser responsive design with HTML5 & CSS3 media queries. View Demo Responsive Design Download Demo ZIP See It in Action First Before you start, check the final demo to see how it looks like. More Examples If you want to see more examples, check out the following WordPress themes that I designed with media queries: Tisa, Elemin, Suco, iTheme2, Funki, Minblr, and Wumblr. Overview The page's container has a width of 980px which is optimized for any resolution wider than 1024px.

HTML Code HTML5.js Step 1 Demo. Enhance your web forms with new HTML5 features. Please note that HTML5 is an emerging technique. These examples are not intended for use on a production site. Results may vary according to browser implementation. Please use Chrome or Safari for best results. Required fields Whose ever tried to submit a form and gotten an error message saying that you “forgot” to enter your email address? In good ol’ HTML, we had to manually display that a specific field is required, most of the time by using a red asterisk. And on the CSS side, something like will save you a lot of time. Two similar attributes are also available: optional and invalid. Placeholders In a form, an input field always has a label explaining what kind of information is required. The HTML5 placeholder attribute works exactly as the value attribute, except that when the user click on the text field, the placeholder text is automatically removed so the user can easily enter his information.

The placeholder attribute currently works only in safari/webkit. Autofocus Email fields. The Perfect Brainstorm: A How To - Noupe Design Blog. Aug 19 2010 Given our fields of interest and chosen professions, most of us have at least once in our lives had to brainstorm for one reason or another. But for those of us who apply this mental tool in our creative pursuits much more regularly, learning to do so effectively is crucial. Brainstorming could prove an invaluable addition to your creative arsenal, but only if you take the time and put forth enough effort to follow through on the process. This is an unfortunate truth for many, who believe that this “storm” is short-lived. But there is more to it than that. Brainstorming is more than about just having ideas: it is about having ideas and the means to implement them. You can come up with ideas all day long that sound great on paper and even out loud when you share them with others, but if you have no means to follow through on them, then they will simply fall flat.

Consider some of our previous articles: How Many Ideas Do You Show Your Clients? The Calm Before The Storm (al)

Flash

Who Needs University? The Best Nettuts+ Screencast Training Courses. Build Internet! | Web Design, Development, and Business. 10 CSS Snippets to Save Precious Time | Blog Oh Blog. Today, I have compiled a set of 10 CSS snippets that can save you a lot of time and effort. These codes are needed frequently when developing CSS-based websites or themes. Just bookmark these codes (Ctrl + D) so that you don’t have to look for them on the Internet every time. 1. CSS Tooltips Through this code, you can have your own tooltips using just CSS. Now, use the tooltips like this :- [html] Easy TooltipThis is the crazy little Easy Tooltip Text.. 2. HTML tags on different browsers have their own formatting and styling. 3.

This code will add different color borders around your assets depending on its level. 4. You can easily center a DIV by using margin:auto; property when you have mentioned its width in your CSS. 5. Instead of using any kind of JavaScript to add a loading icon before your large image is loaded, you can use this simple CSS technique. 6. In case you need to preload images before the loading of your page completes, use the following technique. 7. 8. 9. 10. Web Development & Design Tutorials - Nettuts+

Smashing Magazine. 120 Tips, Tricks, and Tuts from 2009 Worth your Time. Now that we’re down to the end of 2009, what were some of the best web development and design tutorials and articles from the year? We’ll take a look at 120 of them! Jump to a Month January How to Build a Login System for a Simple Website In today’s video tutorial, we’ll be building a login system with PHP and MYSQL.

Many, many features will be covered; including MySqli, Prepared Statements, jQuery, Classes, Sessions, Cookies, etc. I bit off more than I could chew for today’s screencast. Run Your Own TinyURL Service With Phurl Jan 13th, 2009 in Other by Thord Hedengren URL shortening services are a must if microblogging services like Twitter are to work. Slice and Dice that PSD In today’s video tutorial, we’ll be slicing up a PSD, dicing it for the web, and serving it on a warm hot plate. The Definitive Guide to Creating a Practical jQuery Plugin 15+ Tips to Speed Up Your Website, and Optimize Your Code! Once you’ve been coding for a while, you begin to take something for granted. February. A Form of Madness. You are here: Home Dive Into HTML5 Diving In Everybody knows about web forms, right?

Make a <form>, a few <input type="text"> elements, maybe an <input type="password">, finish it off with an <input type="submit"> button, and you’re done. You don’t know the half of it. Placeholder Text The first improvement HTML5 brings to web forms is the ability to set placeholder text in an input field. You’ve probably seen placeholder text before. When you click on (or tab to) the location bar, the placeholder text disappears: Here’s how you can include placeholder text in your own web forms: Browsers that don’t support the placeholder attribute will simply ignore it. Ask Professor Markup Q: Can I use HTML markup in the placeholder attribute? Autofocus Fields Web sites can use JavaScript to focus the first input field of a web form automatically.

To solve this problem, HTML5 introduces an autofocus attribute on all web form controls. Here’s how you can set a form field to autofocus: What’s that? To sum up: » 30 More Essential PDF Documents Every Designer Should Download. Positive Space 30 More Essential PDF Documents Every Designer Should Download It has taken me almost an entire year to compile, but I have finally created a followup entry to the original “30 Essential PDF Documents Every Designer Should Download” Article. The original was the most popular article I have ever posted on this blog receiving well over 500,000 unique views – fueled by twitter referrals and stumble upon. I believe that this collection is even better than the first so please enjoy these links from some of the web’s most well respected authors. Free eBooks & Manifestos Get a Design Job! Taking Your Talent to the Web – Jeffery Zeldman 279 Days to Overnight Success – Chris Guillebeau The Vignelli Cannon – Massimo Vignelli The Bootstrapper’s Bible – Seth Godin Testify: How Remarkable Organizations are Creating Customer Evangelists – Ben McConnell & Jackie Huba The Design Funnel: A Manifesto for Meaningful Design – Stephen Hay Ten Tests of Your Positioning Presentations Font Magazine.

Jquery

Php. Speed Up with CSS3 Gradients. This article was originally published on March 2, 2010. It was updated April 1, 2011, July 20, 2011, and again March 3, 2014, each time to clarify and correct browser prefixes and best practices. Just as you can declare the background of an element to be a solid color in CSS, you can also declare that background to be a gradient. Using gradients declared in CSS, rather using an actual image file, is better for control and performance. Gradients are typically one color that fades into another, but in CSS you can control every aspect of how that happens, from the direction to the colors (as many as you want) to where those color changes happen. Gradients are background-image While declaring the a solid color uses background-color property in CSS, gradients use background-image.

Linear Gradient Perhaps the most common and useful type of gradient is the linear-gradient(). Not declaring an angle will assume top-to-bottom: This "to" syntax works for corners as well. Browser Support / Prefixes. 10 sql tips to speed up your database. Design your database with caution This first tip may seems obvious, but the fact is that most database problems come from badly-designed table structure. For example, I have seen people storing information such as client info and payment info in the same database column. For both the database system and developers who will have to work on it, this is not a good thing. When creating a database, always put information on various tables, use clear naming standards and make use of primary keys.Source: Know what you should optimize If you want to optimize a specific query, it is extremely useful to be able to get an in-depth look at the result of a query. Using the EXPLAIN statement, you will get lots of useful info on the result produced by a specific query, as shown in the example below: EXPLAIN SELECT * FROM ref_table,other_table WHERE ref_table.key_column=other_table.column; SELECT * FROM wp_posts;

CSS Image Maps: A Beginner’s Guide | Noobcube. While they may not be used as often as they once were in the heyday of table based web design, image maps can still be quite useful in situations that call for it. Unfortunately, for beginners, achieving this with CSS alone, can be a difficult concept to grasp. In this tutorial, we're not only going to get you up to speed on how to create a CSS image map, but, we're also going to take it a couple steps further and add hover states to our image map using a CSS background image sprite , as well as a "tooltip" like popup. Introduction In the days of table based web design, using image maps in your web layouts were quite common. They were used to define clickable areas, or "hotspots", within several sliced images (coming together to form one image). During this time, these hotspots were used mostly for navigational purposes.

Before we get started, let's take a look at an old school image map using tables. If you take a look at the page, you'll notice it does exactly what it's supposed to do.