background preloader

The 30 CSS Selectors You Must Memorize

The 30 CSS Selectors You Must Memorize
So you learned the base id, class, and descendant selectors—and then called it a day? If so, you're missing out on an enormous level of flexibility. While many of the selectors mentioned in this article are part of the CSS3 spec, and are, consequently, only available in modern browsers, you owe it to yourself to commit these to memory. And by the way, if you're having trouble with your CSS and want a pro to look over it and fix any errors, you can find some qualified freelancers on Envato Studio. Let's knock the obvious ones out, for the beginners, before we move onto the more advanced selectors. The star symbol will target every single element on the page. The * can also be used with child selectors. This will target every single element that is a child of the #container div. View Demo IE6+ Firefox Chrome Safari Opera Prefixing the hash symbol to a selector allows us to target by id. Ask yourself: do I absolutely need to apply an id to this element in order to target it? View Demo View Demo

https://code.tutsplus.com/tutorials/the-30-css-selectors-you-must-memorize--net-16048

Related:  CSS tricks

Different Tricks on How to Make Bootstrap Columns All the Same Height Bootstrap 3 (and now Bootstrap 4) are amazing CSS frameworks that can make the lives of developers of any skill-level easier. When I was more of a beginner and I first started using Bootstrap, I used every feature of it possible and used to hack it to get things to work the way I wanted. Now, with more experience, I mostly just use their reset and grid system. Experimental CSS3 Animations for Image Transitions Today we want to share some experimental 3D image transitions with you that use CSS3 animations and jQuery. We'll be using CSS3 3D Transforms for Webkit only. View demo Download source

Patterns For Large-Scale JavaScript Application Architecture Today we're going to discuss an effective set of patterns for large-scale JavaScript application architecture. The material is based on my talk of the same name, last presented at LondonJS and inspired by previous work by Nicholas Zakas. Who am I and why am I writing about this topic? I'm currently a JavaScript and UI developer at AOL helping to plan and write the front-end architecture to our next generation of client-facing applications. As these applications are both complex and often require an architecture that is scalable and highly-reusable, it's one of my responsibilities to ensure the patterns used to implement such applications are as sustainable as possible.

Illustrator Tutorial: 3D Logo Prev • Tutorials • Next This tutorial will show you how to make a 3D gradient logo in minutes by using the Warp and 3D effects. It is great for making 3D graphics and icons. Sites that are tagged with hand written - CSSline Showcase Gallery CSSline - Showcase gallery of excellent CSS sites. Home Now with 1648 sites! Last updated 1 Week, 16 Hours, 25 Minutes ago! About Read about the people behind this site and more! Facebook Remember to like us on Facebook!

Useful :nth-child Recipes Share this: Ship custom analytics today with Keen.io. I get a little giddy when I come across perfect uses for :nth-child or :nth-of-type (read about the difference). The better you understand them, the more css nerdgasms you get to have! All About Buttons: Inspiration, PSDs for Download, CSS Generators and Frameworks Whether they are used to subscribe to services, send a contact form or simply to call the user’s attention to a specific page, buttons are a very important part of websites. When well designed, they have the power to change conversion rates, bring new customers to a service or help users perform and validate specific tasks. No wonder web designers tend to put so much time and effort into creating nice, appealing buttons.

Scaling Your JavaScript Applications (Videos) Summary Developers creating JavaScript applications these days usually use a combination of patterns like MVC/MV*, modules, widgets and plugins for their architecture.Whilst this works great for apps that are built at a smaller-scale, what happens when your project starts to grow? In this talk, I present an effective set of design patterns for small, medium and large-scale JavaScript applications. You’ll learn how to separate concerns, keep your application logic decoupled, build modules that can exist on their own or be dropped into other projects and scale your applications to minimize any breakage in the user experience. Slides

How much does logo design cost? Clients need to know. Designers, too. One client might think a designer is stalling by not sending an immediate quote, as if the designer wants to figure out how much is available. 97 Highly Effective Single-Page Mini Templates (Updated) On 04.26.10, In Freebies, Themes, Web Templates are light and very simple, but they have many uses. Html Resume templates will help you to set up a professional online CV in minutes.

animation Share this: Ship custom analytics today with Keen.io. The animation property in CSS can be used to animate many other CSS properties such as color, background-color, height, or width. Each animation needs to be defined with the @keyframes at-rule which is then called with the animation property, like so: CSS Buttons with Pseudo-elements In this tutorial, I'll show you how to create buttons with a twist, using just one anchor tag per button and the great power of CSS. View demo Download source Hola, amigos. For the last month or so, I’ve been experimenting with the power of CSS pseudo-elements, specially when it comes to mixing them with buttons and that way recreating some great effects that were only possible to do with sprites, in the past.

Related:  Web/Grafic DesignWeb DevelopmentWeb programminghtml/cssWebsiteDesignCSS