60 Beautiful Examples of Websites With Full-Blown Video Backgrounds |
- 60 Beautiful Examples of Websites With Full-Blown Video Backgrounds
- Working with Code Snippets in Sublime Text
- Green Wallpapers [Wallpaper Wednesday]
60 Beautiful Examples of Websites With Full-Blown Video Backgrounds Posted: 12 Jun 2013 08:01 AM PDT Large background images have already become an integral part of any Web design yet they're often perceived as trivial things. In spite of this, the designers are not giving up this trend. They try their best to power up their Web pages with new elements, one of which is the video (or animated) website background. Video is the best way to draw attention. Stunning video or animation in the background can easily make people stop and stare, then examine it, increasing the time they spend on the site, and hopefully lead to more interaction with the contents on the site. Moreover, the usage of video background could add dynamics and ambience to the site and is a great opportunity to show off your skills and creativity especially since they are still pretty scarce. It’s a challenge to find enough for a showcase but here it is: 60 incredible sites with full size video backgrounds that will take your breath away! Recommended Reading: Showcase of Web Designs with Beautiful Typography 1. When Was The Last Time You Did Something for The First Time 20. British Higher School of Art & Design |
Working with Code Snippets in Sublime Text Posted: 12 Jun 2013 06:01 AM PDT Along the entire process of coding, developers (including me) tend to rewrite or reuse the same pieces of code over and over again. One way to eliminate this repetitive process is to keep codes we frequently use closeby in the form of snippets. This makes it easy to retrieve and access them easily. To help make your coding more efficient, Sublime Text (code editor) provides developers with the ability to add custom-code snippets in the editor with ease. In this post, we will see how to create, manage, and insert code snippets to significantly streamline our workflow in Sublime Text. Let’s have a look. Recommended Reading: Top 10 Free Source Code Editors – Reviewed Creating New SnippetTo create a new snippet, we go to Tools > New Snippet. Sublime Text will then deliver the following template to set the new snippet. <snippet> <content><![CDATA[ Hello, ${1:this} is a ${2:snippet}. ]]></content> <!-- Optional: Set a tabTrigger to define how to trigger the snippet --> <!-- <tabTrigger>hello</tabTrigger> --> <!-- Optional: Set a scope to limit where the snippet will trigger --> <!-- <scope>source.python</scope> --> </snippet> We simply add the code snippet within <content><![CDATA[ -webkit-box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.5); -moz-box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.5); box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.5); ]]></content> Then, we set the trigger keyword within <tabTrigger>shadow</tabTrigger> Lastly, we set the scope in which this snippet can be added. Since we added CSS3 Box Shadow, we might want to limit the usage for this snippet to only in a CSS stylesheet. <scope>source.css</scope> At this point, we are all set, and we can save the snippet. To make our snippets organized, we will create a new folder dedicated to saving CSS. Further, you might want to create more folders for saving the other types of codes, such HTML, JavaScripts, PHP, Python, and so on. One thing must be noted here: the files must be saved within a Insert the SnippetIn the editor, Sublime Text will show the options as we type the trigger keyword. We can insert the snippet by selecting it from the options or completing the trigger keyword and hitting the Tab key. As we have specified the scope to document with CSS syntax, this snippet will not be triggered and automatically added in other types of document, as shown below. Tab Key and Fields MarkersFurthermore, there are times when we need to edit particular specifications within the code snippets. Given the example of our CSS3 box shadow above, we might want to change the color of the shadow, the shadow blur, or the horizontal offset. Sublime Text also provides the ability to highlight specific fields, which we want to edit, after inserting the code snippet. These fields can be specified with -webkit-box-shadow: ${1:1px} ${2:1px} ${3:1px} ${4:0px} ${5:rgba(0, 0, 0, 0.5)}; -moz-box-shadow: ${1:1px} ${2:1px} ${3:1px} ${4:0px} ${5:rgba(0, 0, 0, 0.5)}; box-shadow: ${1:1px} ${2:1px} ${3:1px} ${4:0px} ${5:rgba(0, 0, 0, 0.5)}; In the example above, the first highlighted field would be Sublime Text has multiple-cursor feature, which allow us to select or highlight several lines at once and make editing much faster. Then, hit the Tab to highlight and edit the field number Installing Snippet PackageYou don’t have to do everything on your own. There are several packages that we can install for almost any type of code snippets. Assuming that you have install the Package Control, you can hit Shift + Command + P, then go to Package Control and search for the snippet package. In the following example, I find that the package for SASS code snippet is available. Even the snippet for Code License is also available. Find and install the code snippets you need, and you are all set. You don’t have to memorize the entire trigger keyword for the snippets as Sublime Text will show you the options as you are typing in the codes. That’s it for now, we hope this little tip can be useful to enhance your workflow on writing codes. Happy Coding! Further ResourceFor further reference on creating and customizing the code snippet, you can head over to the following page. |
Green Wallpapers [Wallpaper Wednesday] Posted: 12 Jun 2013 03:01 AM PDT What does ‘green’ mean to you? Does it say making eco-friendly choices on a day-to-day basis? Does it allude to clean, renewable energy? Or is it the fastest way you can relate to nature? Green is the perfect colour to symbolize a path to an improved life, be it your life or nature on a grand scale. If green fields is rare sight where you are then these wallpapers may be able to provide solace to you after roughing through busy traffic and smoggy sidewalks. Freshen up your day and pump some life into your choices this week, and let’s just go green with a green-themed Wallpaper Wednesday. Read Also: 18 Beautiful Web Designs That Emphasize Green Green Blossom Wallpaper. Available in 1920×1080. Anacahuita Wallpaper. Available in the following size(s): 640×960, 2560×1440, 2560×1600. Grass Wallpaper. Available in the following size(s): 1280×1024, 1280×960, 1400×900, 1920×1080. Green Touch Wallpaper. Available in the following size(s): 1920×1200, 2560×1600. Wakeup. Available in the following size(s): 1600×1200, 1920×1200. Wakeup2. Available in the following size(s): 1600×1200, 2560×1440, 2560×1600. Drop And Green Wallpaper. Available in the following size(s): 320×480, 1280×800, 1440×900, 1920×1200, 2560×1600. Macro Green. Available in the following size(s): 1280×800, 1440×900, 1680×1050, 1920×1200. Amazing Nature. Available in various sizes. In The Field III. Available in the following size(s): 1920×1080, 1920×1200, 2560×1600. Quality Wallpaper Pack. Available in the following size(s): 640×960, 1024×1024, 1440×990, 1280×1024, 1920×1200, 1600×1200, 2560×1600. Clover. Available in the following size(s): 1024×768, 1280×800, 1440×900, 1440×1280, 1680×1050, 1920×1220, 2560×1440. Fleaps. Available in the following size(s): 640×960, 1440×900, 1920×1080, 1920×1200, 2048×1536, 2880×1800. Winter Sun HD. Available in 1900×1080. Macro. Available in various sizes. Green Scenery. Available in various sizes. Green Focus. Available in the following size(s): 1366×768, 1920×1080, 1920×1200, 2560×1600. |
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 |
Your article is extremely good.You can visit my website: spotify apk