PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Wed Nov 22, 2017 4:20 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Sep 11, 2017 4:32 pm 
Offline
DevNet Master

Joined: Wed Oct 08, 2008 3:39 pm
Posts: 4359
Location: United Kingdom
We want to create a DIV with text in the middle, and a gradient of black and top and bottom, gradient into the middle with a pale shade of grey.

See attached for graphic example.
Attachment:
File comment: Graphic example of what I want in CSS.
ss.jpg
ss.jpg [ 5.84 KiB | Viewed 752 times ]

_________________
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.


Top
 Profile  
 
PostPosted: Tue Sep 12, 2017 12:26 am 
Offline
Spammer :|
User avatar

Joined: Wed Oct 15, 2008 2:35 am
Posts: 6586
Location: WA, USA
Try a vertical linear-gradient with black at 0%, gray at 50%, and black again at 100%.


Top
 Profile  
 
PostPosted: Tue Sep 12, 2017 2:52 am 
Offline
DevNet Master

Joined: Wed Oct 08, 2008 3:39 pm
Posts: 4359
Location: United Kingdom
Perfect Thanks.

_________________
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group