beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

CSS_v2 Op



CSS
Namespace: Ops.Html

Op author: pandur

Define a custom stylesheet


CSS Rule Conflicts

HTML element created by cables always have a class called "cablesEle".

If you have problems with existing styles of cables, use css selectors to define them to use only childs:

.cablesEle.myDiv 
{
    background-color:red;
    border:10px solid blue;
}

.cablesEle h1
{
    color:red;
}

Using assets in CSS properties

Use {{ASSETPATH}} to get a URL to file Assets

background-image:url({{ASSETPATH}}Cloud03_8x8.png);



Inputs

css code (String)

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

CSS OP Example

Create a CSS style so it's available to other ops like the Div element


Youtube Video Tutorial

Patches using CSS_v2

  • Examples
  • Public
  • My Patches

Changelog


Ops.Html.CSS2 renamed to Ops.Html.CSS_v2
2019-06-12 - pandur