CSS Editor support for Box-Shadow
-
Hello,
I would like to suggest supporting the ‘box-shadow’ CSS command, as outlined in the official W3 specs: http://www.w3.org/TR/css3-background/#the-box-shadow. It’s great for putting pretty drop shadows on images and the like, and so much easier and tidier than doing it with HTML and images or frames, god forbid.
I know that it’s only supported on a handful of browsers so far, but it’ll be coming to all of them soon enough, and at the very least it’d be nice to see all the developer versions of the command (like ‘-webkit-box-shadow’, ‘-moz-box-shadow’ etc…) supported, so we can at least play about with it. I don’t think it’d be a massive hassle, and it’s hardly going to affect everyone upon implementing.
Pretty please with a cherry on top?
GJBlues
The blog I need help with is: (visible only to logged in users)
-
I may not be understanding this right, but is it not the case that you can write anything you want in the CSS editor and providing your browser recognises it, it’ll have the right effect? So I don’t think WP have to do anything to ‘upgrade’ the CSS provision, do they?
-
-
It’s not quite as simple as just writing what you want in the CSS editor. When you click Save it does a quick scan and eliminates any nonsense CSS. So for example, where you to write
.randomclass { color: #FF00FF; cheese: stilton; }It’ll take out the spurious cheese command, as it doesn’t mean anything. It appears as though the editor’s screening process is cutting out the box-shadow or -webkit-box-shadow when it does its screen. Bum.
- The topic ‘CSS Editor support for Box-Shadow’ is closed to new replies.