This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

change value to ## when condition meet
#2
Similar to this example: https://forum.logicmachine.net/showthread.php?tid=4091

When <body> element has generator-off class then all elements with generator-status additional class will have the current value hidden by setting the text color to transparent and showing a pseudo-element with ## before the value text.
Code:
body.generator-off .generator-status.item-value,
body.generator-off .generator-status .value {
  color: transparent;  
}
body.generator-off .generator-status.item-value:before,
body.generator-off .generator-status .value:before {
  color: #333;
  content: '##';
}
Reply


Messages In This Thread
RE: change value to ## when condition meet - by admin - 17.06.2022, 12:44

Forum Jump: