YUICompressor-NET / YUICompressor.NET

Port of Yahoo!'s Java YUICompressor to .NET
BSD 3-Clause "New" or "Revised" License
122 stars 61 forks source link

Helper function to create and emit CSS inside an Action method #25

Closed weedkiller closed 7 years ago

weedkiller commented 7 years ago

Hi, I am trying to build/add a CSS snippet into the view - right in the local @Section {...<styles >} using a simple Action link, and help would be great... to create and return something like

ActionResult GetDynamicCss() {... .p { height: 210px } ..}

can you guide me is there a way to do this with this lib, or can we get a helper.

thanks

freeranger commented 7 years ago

Hi

This is absolutely nothing to do with the functionality of this library so definitely nothing we would ever provide. Google is your friend here - it returns results like this : http://stackoverflow.com/questions/2716956/how-to-return-dynamic-css-with-asp-net-mvc

freeranger commented 7 years ago

Closed as not an issue with yuicompressor