apphp-snippets


Member since 05/20/2012

16 snippets

6349 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

apphp-snippets's Recent CSS Snippets



« Prev 1 Next »
If using transparency on a block element it makes the text inside transparent as well. Is there a way you can prevent that from happening? Yes, you may do it by putting the text in another div and setting the opacity to 100%, but that didn't do the j...
0 1011 posted 6 years ago by apphp-snippets
You may align background image not only to left or top corner, but also use an offset for alignment.
0 1065 posted 6 years ago by apphp-snippets
The following code will display a cross-browser CSS-gradients. Th add the right selector you can use rgba() for transparency.
0 858 posted 8 years ago by apphp-snippets
It allows you to add your own fonts on the page. To convert to different formats use this service Font2Web.
0 883 posted 8 years ago by apphp-snippets
It allows you to add your own fonts on the page. To convert to different formats use this service Font2Web.
0 856 posted 8 years ago by apphp-snippets
This solution is based on Chrome specific CSS extension. Other browsers will ignore this rule.
0 804 posted 9 years ago by apphp-snippets
This example shows you how to create custom tooltips, using just a pure CSS. In this examples we use "transform" feature of the CSS3 and some other tricks. Also you may find additional tooltip class provided, to show you the way you may customize thi...
0 659 posted 10 years ago by apphp-snippets
This solution will help you to prevent many issues with your site, when you need to prevent long URL's from breaking out of container.
0 737 posted 10 years ago by apphp-snippets
Today in the days of high-resolution widescreen displays, it's annoying to visit websites that are formatted like it's 1990's. aligned all the way to the left. Make sure your website doesn't suffer the same fate by forcing it;s content to center hori...
0 664 posted 10 years ago by apphp-snippets
Using the same code in different browsers can be displayed in different ways. Resetting styles will help you to avoid such problems.
0 735 posted 11 years ago by apphp-snippets
These 2 techniques can be used for alternating row-colors in a table.
0 728 posted 11 years ago by apphp-snippets
Today with CSS3, you no longer need a background image for gradients. You can use CSS to add a gradient to the background of some elements on your page. For ex.: change the color hex values ("84c8d7" and "327fbd") to the gradient color you need.
1 699 posted 11 years ago by apphp-snippets
This solution is based on Mozilla specific CSS extension. Other browsers will ignore this rule.
0 581 posted 11 years ago by apphp-snippets
This can be used in casting shadows off block-level elements like divs, tables etc. (still not supported in IE7 and IE8). Parameters (from left to right): horizontal offset of the shadow, vertical offset of the shadow, blur radius (optional), spread...
1 638 posted 11 years ago by apphp-snippets
Sometimes it's desirable to change a style of the first and/or last elements in a container. You can do this by manually applying classes to your HTML elements: ("last-child" still not supported in IE8).
0 568 posted 11 years ago by apphp-snippets
These 2 techniques can be used for alternating row-colors in a table.
1 816 posted 11 years ago by apphp-snippets
« Prev 1 Next »