[Pro] Text Shadow

Where can I set the following CSS command: text-shadow: 0 -1px 0 rgba(0, 0, 0, 1);


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Solved.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Where can I set the following CSS command: text-shadow: 0 -1px 0 rgba(0,
0, 0, 1);

The best spot is to attach it to the specific text style you want-- via the
Edit Styles window.

Let’s say that you made a custom heading style… h1.mystyle, open the Style
Editor (menu Edit > Styles) and choose that style. Next, open the Extended
Styles window for that style and create a New Attribute… for the Name field
use

  text-shadow

typed exactly, though leaving off the colon at the end (Freeway will add
that part). Then, in the Value field, type

  0 -1px 0 rgba(0,0,0,1.0)

this time leaving off the trailing semi-colon as Freeway will add that
part. And you’re done!

As long as you are careful to not make typing errors, Freeway will insert
this custom code into the definition for everything with this style.

For those readers who aren’t familiar with how the text-shadow property
syntax works, here’s a quick and simple rundown… it’s just 3 numbers and a
color. The first two numbers are X/Y coordinates-- X (horizontal shift) and
Y (vertical shift). Zero means no shift, negative numbers mean left or up
from no shift. The third number is the softness of the drop shadow, so zero
is crisp and hard, while positive numbers indicate how many pixels the
shadow is spread across. So, the higher this number the softer or more
diffuse the shadow.

The last bit is color and can be written using any legal way to describe
color in CSS-- including named CSS colors. However, the most used for this
property is RGBa which is basically RGB with some additional transparency
info. Black, in RGB is zero Red, plus zero Green, and zero Blue… so the
first three numbers are amounts of Red, Green and Blue. White in RGB would
be 256, 256, 256. That last number is the Opacity, with 1.0 being fully
opaque (think 100%) so 0.5 would be 50% and so on.

It’s possible to layer text-shadow definitions, but that’s a more advanced
topic for maybe another day.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options