background preloader

General

Facebook Twitter

Tutorialzine | Web Development Tutorials & Resources. Learn How to Make Websites. Beautiful Horizontally Centered Menus/Tabs/List. No CSS hacks. Full cross-browser. By Matthew James Taylor on 26 July 2008 A lot of people want centered menus on their website but for the CSS novice this task seems impossible. If you do a search online you will find a few centering methods but most of these rely on CSS hacks, JavaScript or non-standard CSS rules that are not supported by all browsers (display:inline-block; is an example). In this post I'm going to show you my secret method of achieving centered tabs that does not use any CSS hacks and will work in all the common web browsers. It is also compatible with my perfect liquid layouts. Let's start with a basic example then I'll explain how it works. Centered Menu Basic Example Below you should see four horizontally centered tabs in this column of text, the second tab is set as active.

See some more advanced centered CSS menu examples Centered Menu HTML The HTML used for centered menus is semantically structured and very basic. Centered Menu CSS Below is the CSS used to center the tabs across the page. Safari Mac. The Shapes of CSS. Learn Development at Frontend Masters CSS is capable of making all sorts of shapes. Squares and rectangles are easy, as they are the natural shapes of the web. Add a width and height and you have the exact size rectangle you need. Add border-radius and you can round that shape, and enough of it you can turn those rectangles into circles and ovals. We also get the ::before and ::after pseudo elements in CSS, which give us the potential of two more shapes we can add to the original element. By getting clever with positioning, transforming, and many other tricks, we can make lots of shapes in CSS with only a single HTML element.

Square Rectangle Circle Oval Triangle Up Triangle Down Triangle Left Triangle Right Triangle Top Left Triangle Top Right Triangle Bottom Left Triangle Bottom Right Curved Tail Arrow via Ando Razafimandimby Trapezoid Parallelogram Star (6-points) Star (5-points) via Kit MacAllister Pentagon Hexagon Octagon Heart via Nicolas Gallagher Infinity via Nicolas Gallagher Egg Pac-Man Talk Bubble Lock. The Toolbox: a directory of useful single-page sites and apps.

Ui Parade – User Interface Design Inspiration. Thibaud's Portfolio. Sky Tech Geek. 20 Beautiful Freehand Graffiti Art Pieces Graffiti is a well-known art type which is done by spraying with color onto wall or other public places, other forms are writing, scratching, drawing scribbled etc. Graffiti is in existence since the Ancient Greece and the Roman Empire time in the form of simple written words or wall paintings. In some countries Graffiti art is considered defacement and vandalism as people are used to drawing on wall without permission of owner.

This is a big topic of discussion among city officials and law enforcement and writers who wish to display their art into public place. Graffiti comes from Italian word which says designing something by scratching to the surface in a manner which constitutes vandalism. Casually graffiti is intertwined with the hip-hop culture and myriad culture was taken from New York Subway Graffiti. As this art is becoming popular and legitimization of graffiti has come a level of commercialization. Mode2 Source Time Line Detail Rebel Frogs.