Where to put CSS? 🤔


#1

I was wondering where to put CSS to some object.
I wanted to paste gradient background color generated by Colorzilla to rectangle, but I didn’t found where to put it.
I also unchecked “Protect from external styles”.

Any help would be welcome.


(Mark Hunte) #2

Go to the Document inspector and click the Edit Head…

http://tumult.com/hype/documentation/3.0/#document-inspector

Place the code there.

Search the site for 'css important 'for some more pointers on making sure it works.

On iPhone at the mo…


(Greg) #3

You can also put your CSS in an objects innerHTML box (from the ‘Edit’ Menu)…

<div style="width:100%;height:100%;background:#1e5799;background:linear-gradient(to bottom,#1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#1e5799',endcolorstr="#7db9e8",gradienttype="0");></div>