How can I add the css to my project mvc? [closed]

Tags: html,css,,,visual-studio-2013

Problem :

I'm making a project mvc and I found a free css template and I trying to add to my project but I don't get successful Result.

In the folder "Content" I have the files css.

In the forder "View/Shared" I have a _Layout.cshtml with this code in the head <link href="@Url.Content("~/Content/css/Site.css")" rel="stylesheet" type="text/css">
but it doesn't work for me.

Solution :

This is how you can add a new css file in your _Layout.cshtml view.

    <link href="@Url.Content("~/Content/CSSFileName.css")" rel="stylesheet">

You probably need to see if the .css file you're using matches the classes you have in your existing project.

    CSS Howto..

    CSS - How to upscale Unicode arrows?

    Make nav dropdown show above all other divs

    how to relate to a relative css of master page?

    How do I differentiate between IE versions 6 to 10 using IE CSS Hacks?

    How to implement single-line ellipsis with CSS

    How to reduce the length of the paragraph by dots(…)?

    How to change the text-color of element after clicking it?

    How to build a completely static multipage website with BEM?

    How Do I Make My CSS Slider Auto Play? [closed]

    how to create a rotateY animation via jQuery and css 3

    How to place elements on top of each other

    How to get CSS to select ID of specific pattern? [duplicate]

    How to add new table rows and columns with table headers to css table

    How to set CSS property in adjacent elements?

    How to change navbar background color after page has scrolled down

    How achieve rounded shadow behide a rounded element using css3

    How is CSS linked to [closed]

    How to hide overflow characters of a div when resizing [duplicate]

    CSS Select element, how to disappear the arrow?

    how to select one element in jQuery

    How can I get this anchor link to look like a button

    How to place an icon on the first line and text on the second line?

    How to center text next to a responsive image in Bootstrap3

    How to align two different font-sizes next to each other?

    How to call JavaScript on change of CSS

    How can I make a two column layout's main div auto fit to browser width?

    How to match a particular tag through css selectors where the class attribute contains spaces?

    How to style a single QToolButton using qss/css

    How to “break line” via CSS?

    How to test a web designer on css layouts?