c# - dynamic generation of CSS attributes in CSS files based on user input in ASP MVC -


most of dynamic css q & show how swap between css files or predefined css values.

my question is: during live user session how compute/compile css values e.g. both element.width2 , width:230px css file (element.width3 , width:430px;) before loading client-side browser. to clear not looking swap out css files via javascript, i'm seeking options server side answer where css file server generated/recompiled during session is there manipulation class in .net framework or razor view engine? or how can achieve this

// below static elements, want change values , css "keys" .variable-sizes .element.wdth2 { width: 230px; } .variable-sizes .element.hght2 { height: 230px; }  .variable-sizes .element.width2.height2 {    // on server side, usr setting,    // can compute , fill some...   width * userval ?     font-size: 2.0em; }     

i got of working via dotless seems bit old, wondering if still maintained.


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -