background preloader

Border-radius: create rounded corners with CSS!

Border-radius: create rounded corners with CSS!
Home / CSS3 Previews / Border-radius: create rounded corners with CSS! The CSS3 border-radius property allows web developers to easily utilise rounder corners in their design elements, without the need for corner images or the use of multiple div tags, and is perhaps one of the most talked about aspects of CSS3. Since first being announced in 2005 the boder-radius property has come to enjoy widespread browser support (although with some discrepancies) and, with relative ease of use, web developers have been quick to make the most of this emerging technology. Here’s a basic example: This box should have a rounded corners for Firefox, Safari/Chrome, Opera and IE9. The code for this example is, in theory, quite simple: However, for the moment, you’ll also need to use the -moz- prefix to support Firefox (see the browser support section of this article for further details): How it Works border-bottom-left-radius, border-bottom-right-radius, border-top-left-radius, border-top-right-radius The Syntax:

Using Redis with Ruby on Rails Buy The Redis Book! Written by Redis creator, Salvatore Sanfilippo, and key contributor, Pieter Noordhuis, the Redis Book will show you how to work with different data structures, how to handle memory, replication, and the cache itself, and how to implement messaging, amongst other things! Buy the book Redis is an extremely fast, atomic key-value store. It allows the storage of strings, sets, sorted sets, lists and hashes. Redis keeps all the data in RAM, much like Memcached but unlike Memcached, Redis periodically writes to disk, giving it persistence. Redis is an open source, advanced key-value store. The above quote was taken from the official Introduction to Redis page. Table of Contents Redis Data Types Below is a general overview of the data types available to you in Redis: As well as those basic types, there is also the ability to do PubSub with Redis. Installing Redis Installation is simple: Starting Redis Server redis-server /path/to/redis.conf The default redis.conf looks like this. God

HTML5 & CSS3: Take Your Design to Another Level While both languages for HTML5 and CSS3 aren’t fully complete yet, taking the time time to familiarize yourself with some of the pointers in this post can really help you achieve that clean look and feel for your site. Let’s take a deeper look at them. HTML5 is the latest version of HTML or Hypertext Markup Language. It is currently only fully supported by a handful of browsers but the next year should see a large increase in usage. It isn’t expected to be completed until 2014, but the features that are available now are a great way to become acquainted with HTML5 and add some cool elements to your website. Steve Jobs famously refuses to allow Flash on the iOS due to the many bugs and crashes it experiences, therefore, learning how to use the more intricate features of HTML5 is going to be a must for those who want to develop apps and iOS-friendly websites. HTML5 simply builds upon the widespread success of HTML4. Here are some examples of HTML5 in use: Features Why Use It Cool New Tricks

Documentation | Easy front-end framework The Structure Easy front-end framework package includes: blank HTML document called index.html that includes links to necessary files. This is actually your production file , a starting point for your coding. CSS file (easy.css) is the core CSS file for this framework. HTML elements - basic definitions for HTML elements. Print style sheet (easyprint.css) is included and it follows the main styling principles for print media. Working with layout and grid As mentioned Easy is not a predefined grid based system. Easy also includes simple grid system . using a predefined, percentage based equal width column system creating a custom grid using provided class names Classes for columns can be found in subsection of the easy.css file commented as grid . For the equal width column system width and left margin of the columns are defined by adding class names to the column container element. Note: it is important that you use class first on the first column to delete the left margin. Easy components

PDFKit Overview & Advanced Usage @MetaSkills.net Last week I had the pleasure of rewriting 4 years of legacy PDF::Writer code to PDFKit. Why? Well drawing pdfs in ruby using libraries like PDF::Writer is like composing a webpage with an Etch A Sketch. In short, its a damn chore that involves a bunch of code that mixes both data and presentation. Wkhtmltopdf is an open source project that uses the WebKit rendering engine to convert HTML to native PDF code. Installation Installing the PDFKit gem is a no brainer. $ which wkhtmltopdf /usr/local/bin/wkhtmltopdf The Basic Requirements I knew that HTML to PDF generation has its drawbacks, specifically with common headers/footers and page breaks. The major reason to use PDFKit and wkhtmltopdf is that we can use the same templating system in Rails that we use to generate other views. The Main PDF Layout Sometimes it is useful to start at the end. !!! I recommend that all PDF layouts, templates, and partials use the dual mime type naming convention. Your PDF CSS Custom Headers/Footers

10 New Twitter Tools That Will Get You Tweeting Whether you’re new to Twitter or an experienced user, Twitter tools make everything easier. Here are some of my favorite new tools to make Tweeting easier and more useful for any user. Try one or two that looks useful and leave a comment in the box at the bottom if you like. 1. Send Tweets At Optimal Times In Just a Click With Buffer Whenever I see an article I like I just click on the Buffer icon and it becomes a Tweet that is then automatically posted at the next optimal time. Cool Feature: With every Tweet you send via Buffer you will get detailed analytics about how many clicks, retweets and reach. 2. Twimbow is a great way to stay on top what people are tweeting to make getting started Tweeting easier for you. Cool Feature: You can add pre-set hashtags (learn more about what hashtags are in #4 below) to your Tweets to color-code them for other Twimbow users, which connects you to other the Twimbow community of users. 3. 4. TweetChat makes chats easy for you. 5. 6. 7. 8. 9. 10.

Website Check List (David Skyrme Associates) This website check list is a high-level check list of activities to include in your project plan. A successful web development requires attention to several strands of activity, an in particular the organization of information and changes in origanization and business processes. We have used the activities on this check-list as the starting input list of activities for several project plans for website development and as part of our Internet strategic consulting. See also our Good Web Guide. Preparation and Planning Briefing Appraisal of existing web site, IT systems Confirmation of corporate and marketing objectives Budget indication Roles and Responsibilities Pilot Selection Initial timetable First draft web marketing plan. Guidance Each element may include lower level elements.

Google App Engine, JRuby, Sinatra and some fun! | Khaled alHabache’s official blog Yesterday I was experimenting with Google App Engine for a little project that I was working on. I literally started from ground zero and could do my thing after a long night. I’m blogging about it to share you the idea and save you some time googling solutions. Looks like a 10 minutes with Nokogiri and cron jobs. Here are the steps: Install JRuby, I’m using RVM on my machine: rvm install jruby-1.5.5 rvm use jruby Install needed gems, those versions are the ones which worked for me: gem install jbundle gem install appengine-sdk -v "1.4.0" gem install google-appengine -v "0.0.19" Create a simple app: appcfg.rb generate_app notifier cd notifier # Critical default settings: disable_system_gems disable_rubygems bundle_path ".gems/bundler_gems" # List gems to bundle here: gem "appengine-apis" gem "appengine-rack" gem "sinatra" gem "sinatra-reloader" gem "jruby-rack" , "1.0.4" gem "nokogiri" , "1.5.0.beta.3" <? Now, create an application-id at appspot.com . Let’s go live now:

27 Examples of Color Usage in Web Design Here on WDL, we’ve discussed how colors can be used to invoke various emotions. For example, the color red symbolizes excitement and energy, while the more tranquil color blue represents calmness and stability. Here we’ve gathered a collection of web designs that make good use of color. indubitablee Grind Best Made Engine Creative Urbanoff Ignacio Macri The Combine S.Dallyn James Garner Fuzzco Sunday Best Neuarmy Karb Igor Zagnienski playground de Certau & Associes Alexander Zhestkov Hyper Flow Festival Column Five odopod Daniel Martin Archfirm JChebly Lefft The Manual Bloom Health Source: The Best DesignsAwwwardsunmatchedstyle About the Author Gisele Muller loves communication, technology, web, design, movies, gastronomy and creativity. Related Posts 414 shares Colorful Logos for Your Inspiration We’ve rounded up some examples of logo designs that make excellent use of color. Read More 759 shares 11 Inspiring Examples of Dark Colors in Web Design

Free Android GUI Set In PSD WebDesignShock, a blog on web design and development, is sharing a free Android GUI set in PSD format. It is a very handy resource for Android developers to better prototype their applications and includes: main and contextual menuskeyboard, radio, applicationsbrowsers, status bar, screen labeldialog, slider, circle buttonsand much more. All in layered PSD with the original fonts included. Fixes para Ruby 1.9, Rails 2.3.x e Unicode Ainda existem alguns problemas entre o Rails 2.3, o Ruby 1.9 e seu suporte a UTF-8 e a forma como ambos o ERB (Embedded Ruby, a engine padrão para templates que usamos no ActionView) e o adapter de MySQL tratam encoding. Notei isso quando testei meu próprio blog rodando sobre Ruby 1.9 e ele dá o seguinte erro quando tento carregar a aplicação em algum navegador: O erro aponta justamente para uma linha onde eu puxo dados de um activerecord. Há duas chances para isso: ou o ERB está tratando o encoding errado ou o ActiveRecord está recebendo o dado com encoding errado. No meu caso acho que é o segundo caso. Check out all related links Esses erros estão sendo tratados em tickets no Lighthouse como o #2188 Encoding error in Ruby1.9 for templates e o #2476 ASCII-8BIT encoding of query results in rails 2.3.2 and ruby 1.9.1. Crie um arquivo como “config/initializers/fix_params.rb” com o conteúdo: Em seguida, crie um “config/initializers/fix_renderable.rb” com:

20 Super Clean Fonts Perfect for Minimal Style Design 931 shares 10 Best New Free Fonts We’ve been on the prowl for some new free fonts to share with you. After much searching, we found quite a few, but we believe in “only the best” for WDL readers. The fonts we’ve rounded up for this post are absolutely beautiful, and we know that they’ll find a home in many or your… Read More 1138 shares 9 Free & Useful Fonts for your Designs Whether it’s PSD’s or icons, we love finding high quality free files and sharing them with our readers. FancyMoves - jQuery product slider with keyboard navigation, FancyBox and more. FancyMoves, a jQuery slider for products or images. Need a great looking product slider for your website? Use FancyMoves to show off services, products, or whatever you can dream up. The main image is enlarged to attract your focus. There are multiple ways to navigate to the next / last item: using your keyboard, using the left and right arrows on the sides of the slider, using the nav under the slider (optional), or simply clicking on the next or last item in the slider. FancyMoves has a lot of great features which are easy to edit to customize your slider. FancyBox is built in so you can have images enlarge with an overlay effect on the screen. Check out the demo and be sure to enlarge the images to see the different FancyBox options. Slider Features: FancyBox Features: Linked image ‘groups’Mouse scrolling supportKeyboard supportMultiple enlarging effectsMultiple image title layouts Credits: Original slider code from CSS-Tricks, Clothing products from Ugmonk, FancyBox for enlarged images

CoffeeScript Basics – A Teach Me To Code Tutorial CoffeeScript is now going to be a default installation with Ruby on Rails. So, I installed CoffeeScript and NodeJS and have been playing with it for the last hour or so. Here are the basics you need to know to use CoffeeScript including functions, arrays, hashes (objects), control functions (if, else, unless) and loops. In my opinion it is friendlier than JavaScript and more terse, but I don’t feel like it’s a huge win over JavaScript. Download 168 MBDownload (iPhone & iPod) 87.3 MB

Related: