Vincent Leung .NET Tech Clips

The latest tech clips from the .NET community

Eliminate duplication in CSS with .less – a .NET HTTP handler

 

One of the frustrating aspects of working with CSS (one of many, actually) is the amount of duplication in a .css file. .less help to keep your CSS files DRY using 4 constructs:

  • Variables
  • Mixins
  • Operations
  • Nested Rules

image

An HTTP handler is configured to respond to requests for the .less files.

<httpHandlers>
    <add type="dotless.Core.LessCssHttpHandler, dotless.Core" validate="false" path="*.LESS" verb="*"/>
</httpHandlers>

When a request arrives for a .less file it is the handler’s job to parse the .less file and transform it into standard CSS rule sets.

November 25, 2009 Posted by | ASP.NET, UI Design | 1 Comment

60 Tools To Optimize Your CSS

A few of them like:

For more visit –> 60 Tools To Optimize Your CSS

August 9, 2009 Posted by | UI Design | Leave a Comment

Enhance your input fields with simple CSS tricks

Turning this

image

into this with a few lines of CSS.

image 

Janko At Warp Speed – Enhance your input fields with simple CSS tricks

July 30, 2008 Posted by | UI Design | Leave a Comment

55 Free High Quality Icon Sets

 image

In the overview below we present 55 more excellent, free and professional icons for desktop and web design

55 Free High Quality Icon Sets | Graphics | Smashing Magazine

July 11, 2008 Posted by | UI Design | Leave a Comment

Adding Gravatar in ASP.NET

 

image

Part 1: Adding Gravatars to your ASP.NET site in a few lines of code – It’s easy to add avatars to your site

Part 2: Avatars? Isn’t that some kind of D&D comic book stuff? – Avatars can help make your community website feel more like a community and less like a website

Part 3: Gravatar 201: Advanced Gravatars in ASP.NET

Also, identicon – the 9-block IP Identification. Identicon.NET in codeplex.

Also, Gravatars is used in open source ASP.NET projects: dasBlog (weblog system), SubText (weblog system), and DotNetKicks.

July 2, 2008 Posted by | ASP.NET, UI Design | Leave a Comment

CSS Frameworks

 

March 26, 2008 Posted by | ASP.NET, UI Design | Leave a Comment

Free CSS Templates

 image

image

Via Download free CSS templates – Free CSS Templates

March 25, 2008 Posted by | ASP.NET, UI Design | 3 Comments

Step by Step on creating Nested Master Page from an existing CSS template

The following CSS template can be found here: www.opensourcetemplates.org

2-Columns Layout

image

image

1-Column Layout

image

Contact Us Layout

image

For ASP.NET Design Templates Starter Kit that are using Master Pages but not the new Nested Master Pages feature found in VS2008 go here.

Also check this out…another article on how to take the CSS Design templates and modify them to use ASP.NET 2.0 features and customize it.

Via VS 2008 Nested Master Page Support – ScottGu’s Blog

March 25, 2008 Posted by | ASP.NET, UI Design | Leave a Comment

   

Follow

Get every new post delivered to your Inbox.