Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Define Global CSS classes #2006


User avatar
0
sparkyjr created

Hi,

Is there a place in Web project where I can add my CSS classes that I shall used throughout my project. Ideally, I'm hoping that I wouldn't have to give any stylesheet links on the pages i'm working on. Just use the classes without giving stylesheet reference.

Thanks


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    If you want to use the css class in both frontend and backend, you can use core.less file under Common\Styles folder. If you want to use the css class only in backend, it changes according to your version. For SPA, use app.less under App folder For MPA, use _Layout.less under Areas\Mpa\Views\Layout folder.