@color => hex & rgb

  • Thread starter Thread starter Deleted member 10469
  • Start date Start date
D

Deleted member 10469

Guest
Hello, it's possible to have a rgb code with @property please ?

Example:
background: rgba(@mycolorproperty, 0.5) !important;
background: rgba(@mycolorproperty.hex, 0.5) !important;
background: rgba(@mycolorproperty.rgb, 0.5) !important;

Thanks :)
 
Yes.

What exactly is that property? The color swatches are normally used like this:

Code:
html
{
	@property "html";
	background-color: @pageBackground;
	min-width: 1000px;
	@property "/html";
	overflow-y: scroll !important;
}

...which renders as this:

Code:
html
{
	background-color: rgb(240,240,240);
	min-width: 1000px;
	overflow-y: scroll !important;
}
 
Top Bottom