TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rock
NA
27
600
How to optimize css files in c#
Apr 29 2019 3:04 AM
I have two css file i.e css1 and css2
CSS1.css
body {
font-size
:
larger
;
color
:darkred;
margin-left
:
15px
;
}
And CSS2.css
body {
color
:
red
;
margin-bottom
:
100px
;
}
And, using this bundling configuration:
bundles.Add(new StyleBundle("~/Content/cssTest").Include(
"~/Content/Css1.css",
"~/Content/Css2.css"));
BundleTable.EnableOptimizations = true;
Getting result
body {
font-size
:
larger
;
color
:darkred;
margin-left
:
15px
;
}
body {
color
:
red
;
margin-bottom
:
100px
;
}
Expected result
body {
font-size
:
larger
;
color
:
red
;
margin-left
:
15px
;
margin-bottom
:
100px
;
}
Reply
Answers (
2
)
How to download a file from a live server path in C#
i have list which has more than 4000 row data,it takes much