CSS3 box-shadow on left and right sides only

It is possible to have inset shadows on both left and right sides of a block. It is a matter of showing only one side of the box-shadow at a time, and so you need two box-shadows (one for each side of the block you wish to have shadows, and we can put both CSS codes in the same property).

Here is an example that should be compatible with Firefox, Chrome and Opera.

box {
    -moz-box-shadow:
        inset 5px 0 5px -5px #333,
        inset -5px 0 5px -5px #333;
    -webkit-box-shadow:
        inset 5px 0 5px -5px #333,
        inset -5px 0 5px -5px #333;
    box-shadow:
        inset 5px 0 5px -5px #333,
        inset -5px 0 5px -5px #333;
}

Here is the result:

Lorem ipsum...

Inspired from Playing with CSS3 box shadow [demente-design.com]

――

L'Ecriture - Open Source HTML5 Website CSS Template

This open source website template contains HTML5 code only with a bit of CSS3. It has been tested in Firefox 4, Opera 11.0 and Chrome 10.
It tries to be HTML5 standards compliant and has been tested and validated with the W3C validator many times during the development to make sure it does comply.


This template is HTML5 valid thanks to the W3C validator.

Read the rest of this entry »

――

fetchyahoo 2.14.0 deb package for Ubuntu 10.10 Maverick

On Nov. 16th, fetchyahoo 2.14.0 was released, and I did not find any deb package available for it on the Launchpad PPA's. And I used to package it before, so it took me not very long to update the package to the newest version.

Fetchyahoo is a script written in Perl which fetches your email from Yahoo! Mail and either saves it in your mbox or can also send it to an IMAP folder. It pulls email using the web interface which is very useful for those with Yahoo Mail who do not have POP3 or IMAP access, since POP3 access for Yahoo Mail seems to be a paid service.

The deb package for fetchyahoo 2.14.0 is available from my PPA. You can either add it to your sources.list:

sudo add-apt-repository ppa:weboide

or you can directly download it from launchpad:
fetchyahoo_2.14.0-0ubuntu1_all.deb

――

"We are more than 1%" campaign, get counted!


Image licensed under CC BY-NC-SA edited by Weboide originally made by Treviño.

DudaLibre just launched a new campaign called "We are more than 1%" to attempt to prove wrong the Press and most of people's opinion about Linux's world market share not being more than 1%.

Make sure you get counted and that you share the link with your linux friends!

http://www.dudalibre.com/gnulinuxcounter?lang=en

――