background preloader

How To Create a Pure CSS Polaroid Photo Gallery

How To Create a Pure CSS Polaroid Photo Gallery
Magical things can be done by combining various CSS properties, especially when some of the new CSS3 tricks are thrown into the mix. Let’s take a look at building a cool looking stack of Polaroid photos with pure CSS styling. View the Demo Check out the demo to see what we’ll be building. Start work by sourcing your images. Next, set up the basic page structure with a container centered on the page. Semantically lay out the collection of images in an Unordered List element, and wrap each image with an anchor to create a clickable link. Now we get start work on the CSS to style up the gallery. Give the images the Polaroid effect by adding a few styles to the anchors. To really add realism to the design, use the CSS3 box-shadow property to add some shading to the photos. Now we need to target each image individually, so go back and give each anchor a unique class name. With unique class names in place, we can then add unique styling to each photo. That’s all there is to it! Related:  CSS3

Guide to CSS support in email clients - Articles & Tips Version history 14 November 2017 Outlook.com and the Outlook iOS app added support for CSS background images and some related properties, as well as certain Flexbox and Grid properties. Also added iOS 11 Mail to the guide, with no noticeable differences from iOS 10. 22 September 2017 Microsoft updated the Outlook apps for iOS and Android with more consistent CSS support, including media queries. 13 September 2017 A complete rewrite and redesign of the guide, testing 278 different CSS properties and features across 35 email clients. To accommodate the huge increase in content, we’ve added search functionality and the ability to link directly to individual the email clients and properties for easy sharing.Discuss this on our blog. 2 May 2014 Removed support for various selector options (E) in Gmail and added support for direction, vertical-align and list-style-type in Outlook ’07/’10/’13. 19 September 2013 30 January 2013 1 February 2012 background-image is now supported in Gmail. 10 December 2010

Alternative Style: Working With Alternat So you’ve got a web page. You’ve marked it up with structural XHTML. You’ve also been a good little web developer and used style sheets to control what your document looks like. You’ve even gone the extra mile and created several alternative style sheets to show how hardcore you are. Article Continues Below Great. Styling your site#section1 Style sheets can be associated with documents using a list of link elements in the head. Persistent#section2 These style sheets are always enabled (they are always “on”) and are combined with the active style sheet. To make the style sheet paul.css persistent, the following link element would be included in the head: Preferred#section3 These style sheets are enabled by default (they are “on” when the page is loaded). To make a style sheet preferred, the rel attribute is set to “stylesheet” and the style sheet is named with the title attribute. Several preferred style sheets can be grouped together by giving them identical title attributes. Cookies#section7

CSS3 Image Styles When applying CSS3 inset box-shadow or border-radius directly to the image element, the browser doesn't render the CSS style perfectly. However, if the image is applied as background-image, you can add any style to it and have it rendered properly. Darcy Clarke and I put a quick tutorial together on how to use jQuery to make perfect rounded corner images dynamically. Today I'm going to revisit the topic and show you how much more you can do with the background-image CSS trick. I will show you how to use box-shadow, border-radius and transition to create various image styles. View Demo Image Styles Problem (see demo) Take a look at the demo and note that there is border-radius and inset box-shadow applied in the first row of images. Workaround To get the border-radius and inset box-shadow working, the workaround is to apply the actual image as background-image. Dynamic Way To make it dynamic, you can use to jQuery to wrap the background image dynamically for every image element. Output

300+ Resources to Help You Become a Photoshop Expert Adobe Photoshop is arguably the most powerful graphics and photo manipulation software on the market. You can do virtually anything with Photoshop, from fantasy image collages to complete website designs, and everything in between. Although while Photoshop is incredibly powerful, it can also be incredibly complicated, especially when trying to perform advanced functions. Below are over 300 resources to get you on your way to Photoshop mastery. There’s everything from cheat sheets to brushes to tutorials to action scripts, as well as collections of even more resources and tools. With the resources below, you should be able to do just about anything possible with Photoshop. pCheat Sheets and Reference Guides Keeping cheat sheets and reference guides at hand can speed up your design process and make you a more efficient designer. Adobe Photoshop Keyboard Shortcuts – This site offers a collection of cheat sheets for keyboard shortcuts for each version of Photoshop (as far back as Photoshop 5).

Free “Site Under Construction” Template - OurTuts.com Hello everyone…This is the first post in the new “Freebies” category and I want to celebrate this by offering you something original and special.I`m giving away a free “Site Under Construction” Template ,to use it whenever you have a new website to launch or a re-design of your old website,or for anything else. This template is a simple one page “Under Construction” template that allows you to keep your users informed,while you work at your website.The template has a jQuery slider containing 3 slides:one with your social pages,like Twitter or Facebook,one with a subscribe-by-mail form and another one with an area for writing what you do.I thing it`s very useful.Now you have to convince yourself of its functionality. Main features of the Template jQuery Countdown Script-thanks to Keith Wood.Valid PHP e-mail subscription form-thanks to Abraham Soria from MetaMindVisualjQuery Slider.PSD File included Modern and clean web typeface. Agreements Just change the date with your own date.

The CSS Overflow Property Every single element on a page is a rectangular box. The sizing, positioning, and behavior of these boxes can all be controlled via CSS. By behavior, I mean how the box handles it when the content inside and around it changes. For example, if you don't set the height of a box, the height of that box will grow as large as it needs to be to accommodate the content. But what happens when you do set a specific height or width on a box, and the content inside cannot fit? There are four values for the overflow property: visible (default), hidden, scroll, and auto. Let's take a look at each and then discuss some common uses and quirks. Visible If you don't set the overflow property at all, the default is visible. The important thing to remember here is that even though the content is visible outside of the box, that content does not affect the flow of the page. Generally, you shouldn't be setting static heights on boxes with web text in them anyway, so it shouldn't come up. Hidden Scroll Auto Demo

Bring Your Forms Up to Date With CSS3 and HTML5 Validation Let's look at how to create a functional form which validates users' data, client-side. With that done, we'll cover prettying it up using CSS, including some CSS3! First we want to conceptualize what our form is going to look like and how it is going to function. For this example, let's create a simple contact form that asks for the following information from the user: Name Email Website Message We want to make sure the user is entering the information correctly. Let's get an idea of what we want our form to look like by creating a rough mockup. As you can see, the following elements make up our form: Form Title Required fields notification Form labels Form inputs Placeholder text Form field hints Submit Button Now that we've specified which elements make up our form, we can create the HTML markup. Let's create our basic HTML markup from the form concept we created. Up to this point, our HTML file will still appear blank in the browser. Let's add some typographic styles to our form elements:

12 best places to get free images for your site Adding a few high quality photos is a great way to improve a website, article or presentation - but be careful. A search engine like Google Images will quickly locate just about any shot you could ever want, but using them will almost certainly violate someone's copyright. What's more, search tools like TinEye mean there's a very real chance that the original photographer will find out what you've done. Which could be embarrassing, and maybe expensive, too. Fortunately there's a simple and safe alternative. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. Liked this? Sign up for TechRadar's free Weird Week in Tech newsletterGet the oddest tech stories of the week, plus the most popular news and reviews delivered straight to your inbox.

AS3 G94 Circular Menu › Actionscript 3.0 Version of the Circular Group94 Menu I’ve received quite a few requests to update my circular group94 style menu to AS3 (I’m not really sure why I’m still calling it a “Group94 menu”, but it’s a tribute to them that this style of scrolling navigation is often referred to as a “group94 menu” and not an “offset scrolling menu” or something of that nature). Anyway, I have been thinking for some time that I should revisit this script and build a more complete version, where horizontal, vertical or circular are simply parameters for the menu, but for now, this is both an update and a massive enhancement of the AS2 G94 circular menu. If you play with the demo, you’ll notice I’ve added some new features, such as the ability to easily change (at runtime of desired) aspects of the menu like the inner radius, item spacing, visible items and much more. There are also some easy methods for scrolling the menu. For example: Download: Group94 Style Circular Menu Enjoy!

Related: