Dynamic CSS in an ASP.NET Core MVC View Component

added by DotNetKicks
6/5/2018 5:59:22 AM

185 Views

This post shows how a view with dynamic css styles could be implemented using an MVC view component in ASP.NET Core. The values are changed using a HTML form with ASP.NET Core tag helpers, and passed into the view component which displays the view using css styling. The styles are set at runtime.


0 comments