FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Icons & buttons » Switching out graphics for CSS3 goodness
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Switching out graphics for CSS3 goodness [message #164606 is a reply to message #164604] Fri, 18 February 2011 16:49 Go to previous messageGo to previous message
The Witcher is currently offline  The Witcher   United States
Messages: 675
Registered: May 2009
Location: USA
Karma:
Senior Member
I understand, unfortunately what you, naudefj, Ernesto or I consider plain English is way over the head of many potential FUDforum users/Admins. (much of what you all post is over my head).

I agree that FUDforum is not for your average everyday folks.... Which is part of the problem, if we can make it more understandable to everyday computer users we will have accomplished a lot. I'm sure its impossible to make it idiot proof but the more we try the more we will succeed.


Quote:
use the website i posted in the op to see css3 goodiness in action.


I see no link in the "OP' (original Post):
Bradley wrote on Fri, 18 February 2011 07:25
In a theme I'm working on, I've replaced the background graphics for the forum table headers with css3 gradients. Most (if not all) modern browsers support them - even mobile browsers), and if they don't, a solid block of colour will be shown instead, so it's backwards compatible. the code? simple!

from www,css3please.com where the gradient is red at the top, and white at the bottom:
background-color: #ff0000;
  background-image: -moz-linear-gradient(top, #ff0000, #ffffff); /* FF3.6 */
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #ff0000),color-stop(1, #ffffff)); /* Saf4+, Chrome */
  background-image: -webkit-linear-gradient(#ff0000, #ffffff); /* Chrome 10+, Saf6 */
  background-image: linear-gradient(top, #ff0000, #ffffff);
            filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#ff0000', EndColorStr='#ffffff'); /* IE6IE9 */


if you want to be really fancy, you could use rgba to define an alpha of the gradient!

using css3 gradients is a lot faster, and doesn't need to pull the images!



"I'm a Witcher, I solve human problems; not always using a sword!"
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Lost Icons to Collapse Categories & Messages
Next Topic: The wee white arrow
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Apr 17 06:41:04 GMT 2025

Total time taken to generate the page: 0.03637 seconds