Widget: STYLE BLOCK <-- What does it do? #132
-
HI. What does the Style Block widget do? The manual states: Ideally style blocks should be created in the (head body) clog-element but can be placed anywhere on a document and are applied as found in the document. Although they are not 'scoped'. Media is a css media query defaulting to all. To load CSS style sheets from files see LOAD-CSS in clog-document. The add-style method can be used or can directly use the TEXT method to access blocks content. So I guess we would put CSS in the content box and all the child widgets would inherit the style? What is the envisioned use case for this widget? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Any block that is paced on the page will affect every element on the page. Sadly in html style blocks have no scope. |
Beta Was this translation helpful? Give feedback.
-
Thank you. |
Beta Was this translation helpful? Give feedback.
Any block that is paced on the page will affect every element on the page. Sadly in html style blocks have no scope.