30 Hoodies To Strengthen Your Geeky Existence |
30 Hoodies To Strengthen Your Geeky Existence Posted: 17 Oct 2012 02:15 AM PDT Throughout the glorious history of geeks, you will always see someone, fictional or non-fictional, wearing hooded clothing. Mark Zuckerberg wears the hoodie. The Jedi wears the hooded cloth. Heck, even the legendary Gandalf wears a hooded robe. The hoodie simply symbolizes secrecy and coolness, but today we want to bring to you something that reeks more than just coolness – hoodies with extreme geekiness and craziness! At this moment if you are still looking for the coolest hoodies to impress other geeks, you’ve come to the right post. With our selection of 30 geeky hoodies, with themes ranging from superheroes to Minecraft Creeper and unicorns, you are spoilt for choice for hoodies that will make heads turn. Pick out your childhood fantasy to showcase, wear the hoodie and let your geek spirit shine through! Oh, and do note that if the hoodie is too hot for you, we also got the selection of 80+ creative geek T-shirts that you could buy online! Note: We did our best, but if you find that the item is out of stock, you can search for it in either eBay, Amazon or Etsy, and remember to always compare prices! Zombie Attack! [$59.99] Portal 2 Test Candidate [$59.99] Minecraft Creeper [$64.99 - $65.99] Pac-Man [$39.99] Super Mario [$27.59] Storm Trooper [$49.99 - $59.95] Boba Fett [$119.00] Darth Vader [$34.88] Commander Shepard [$69.99] Arthur Knight Medieval Armor [$150.00] Assassin’s Creed [$150.00] Joker [$47.99 - $54.99] Captain America [$29.99] Iron Man [$59.99 - $66.99] Spiderman [$60.00] Venom [$59.99 - $66.99] Superman [$53.99 - $55.99] Batman [$51.99 - $55.99] The Batman [$73.99] Pony [$124.99] Totoro [$44.99] Dinosaur [$40.00] Cute Dragon [$399.39] Black Dragon [$399.39] Unicorn [$154.76] Panda [$94.85] So So Happy Turquoise Taco [$46.00] So Mad Dog [$46.00] Ultimate Geek [$69.99] Related posts: |
Posted: 17 Oct 2012 02:05 AM PDT Like we said in our previous post on CSS Style Priority Level; CSS is very simple and straight forward. However, it also has its limitations, particularly when it comes to its maintenance. When we have thousands of lines of styles and some separated CSS files to maintain, things will problematic. To solve the problem, a CSS pre-preprocessor is created to allow us to compose styles in a more dynamic way. There are a few solutions, but the one that we are going to cover this time is LESS. LESS EditorIn the time of the writing, the only editor that was intended specifically to support LESS file editing is the ChrunchApp. This app is cross-platform, built upon Adobe Air, so you can run it on Windows, Mac OSX and Linux. As for the other code editors that we may be familiar with, like Dreamweaver, Coda, NotePad++ and SublimeText 2, there is a sort of “plugin” or package we can add to enable code highlighting for LESS file format. And here are a few links to do that:
Using LESSUsing LESS is really easy. We only need this two lines inside the <link rel="stylesheet/less" type="text/css" href="style.less"> <script src="less.js" type="text/javascript"></script> However, this time we will show you how to do it the other way. We are going to use a LESS compiler, you can use WinLess for Windows or LESS.app if you are running on Mac OSX. Go to the site, download and install it in your machine. Then, create a Open the compiler (I’m referring to the WinLESS or LESS.app), and import your working directory into it, the compiler will then find any That’s it. We are all set up now, and whenever we make a change and save the Now, we only need to link the CSS file to our HTML document, as follows; <link rel="stylesheet/css" type="text/css" href="style.css"> LESS SyntaxUnlike regular CSS as we know it, LESS works much more like a programming language. It’s dynamic, so you’ll expect to find some terminologies like Variables, Operation and Scope along the way. VariablesFirst of all, let’s take a look at the Variables. If you’ve been working quite long with CSS, you probably often written something like this, where we have repetitive values assigned in some declaration blocks in the entire stylesheet. .class1 { background-color: #2d5e8b; } .class2 { background-color: #fff; color: #2d5e8b; } .class3 { border: 1px solid #2d5e8b; } This practice is actually fine, until we find ourselves having to sift through more than 1000 more similar snippets throughout the stylesheet. This could happen when we build a large scale website, and then things become so tedious when we begin to modify it. If we are using a CSS pre-procesor like LESS, the instance above would not be a problem, as we can use Variables. The variables will allow us to store a constant value that later can be reused in the entire stylesheet. @color-base: #2d5e8b; .class1 { background-color: @color-base; } .class2 { background-color: #fff; color: @color-base; } .class3 { border: 1px solid @color-base; } In the example above, we store the color You can also put other values in the variables like the examples below: @font-family: Georgia @dot-border: dotted @transition: linear @opacity: 0.5 MixinsIn LESS, we can use Mixins to reuse whole declarations in a CSS rule set to another rule set. Here is an example; .gradients { background: #eaeaea; background: linear-gradient(top, #eaeaea, #cccccc); background: -o-linear-gradient(top, #eaeaea, #cccccc); background: -ms-linear-gradient(top, #eaeaea, #cccccc); background: -moz-linear-gradient(top, #eaeaea, #cccccc); background: -webkit-linear-gradient(top, #eaeaea, #cccccc); } In the above snippet, we have preset a default gradients color inside div { .gradients; border: 1px solid #555; border-radius: 3px; } The div { background: #eaeaea; background: linear-gradient(top, #eaeaea, #cccccc); background: -o-linear-gradient(top, #eaeaea, #cccccc); background: -ms-linear-gradient(top, #eaeaea, #cccccc); background: -moz-linear-gradient(top, #eaeaea, #cccccc); background: -webkit-linear-gradient(top, #eaeaea, #cccccc); border: 1px solid #555; border-radius: 3px; } Furthermore, if you are using CSS3 a lot in your website, you can use LESS ELements to make your job much easier. LESS Elements is a collection of common CSS3 Mixins that we may use often in stylesheets, such as To use LESS Elements, simply add the @import "elements.less"; We can now reuse all the classes provided from the div { .rounded(3px); } For further usage, please refer to the official documentation. Nested RulesWhen you write styles in plain CSS, you may also have come through these typical code structures. nav { height: 40px; width: 100%; background: #455868; border-bottom: 2px solid #283744; } nav li { width: 600px; height: 40px; } nav li a { color: #fff; line-height: 40px; text-shadow: 1px 1px 0px #283744; } In plain CSS, we select child elements by first targeting the parent in every rule set, which is considerably redundant if we follow the “best practices” principle. In LESS CSS, we can simplify the above rule sets by nesting the child elements inside the parents, as follows; nav { height: 40px; width: 100%; background: #455868; border-bottom: 2px solid #283744; li { width: 600px; height: 40px; a { color: #fff; line-height: 40px; text-shadow: 1px 1px 0px #283744; } } } You can also assign pseudo-classes, like the a { color: #fff; line-height: 40px; text-shadow: 1px 1px 0px #283744; &:hover { background-color: #000; color: #fff; } } OperationWe can also perform Operation in LESS, we can do something like addition, subtraction, multiplication and division to number, color and variable in the style sheet. Let’s say we want the element B two times higher than element A, in that case, we can write it this way; @height: 100px .element-A { height: @height; } .element-B { height: @height * 2; } As you can see above, we first store the value in the In the element B, rather than calculate the height ourselves, we can simply multiply the height by 2 using the asterisk operator (*), so whenever we change the value in the Furthermore, we have also shown you some advanced operation examples in our tutorial here: Designing A Slick Menu Navigation Bar. ScopeLESS applies the Scope concept, where variables will be inherited first from the local scope, and when it is not available locally it will search up a wider scope. header { @color: black; background-color: @color; nav { @color: blue; background-color: @color; a { color: @color; } } } In the example above, the ConclusionLESS is only one of a few solutions of CSS pre-processor, you can also try SASS and the Stylus, which we also hope to cover in our future posts. Ultimately, we hope this post can give you a basic undestanding on how we can write CSS in a better way using LESS. If this is your first time using LESS, you maybe feel a little clumsy, but as you try it more often, it will surely become a lot easier. Related posts: |
You are subscribed to email updates from hongkiat.com To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
0 comments:
Post a Comment