Using css with Unity3d

Is it possible to use css with unity3d. If yes, what are different area where we can use the css in unity 3d.

You cannot use CSS within the Unity3D editor (I can't really think of an application for it)

For GUI Styling (if this is what you were intending to use CSS for) you can use a GUISkin (See here) which is similar to CSS in the way that you specify properties of each element of the GUI just like you would specify the properties of each element of a webpage in CSS.

Just an update, Buzz3D have been developing something known as a CGS style sheet, its very similar to CSS and looks like a very powerful addon.

I think you need to be part of there subscription service to gain access to it though, which is a shame.

http://www.youtube.com/watch?v=C4exPTAjdRk

Yeah, I watched that movie too and lookes very promising. It’s almost as easy as normal css to style up your webpage. Could not find any link or info on how to purchase it sadly.

If anyone know more info, please let me know.

Just for a record, eDriven has CSS-type-of stylesheet implementation: http://edrivengui.com/introducing-edriven-stylesheets/

Cheers!

Text Mesh pro uses formatting tags similar to CSS. I use it in JSON, to format text inside my Unity projects

hello I know the topic is way to old, but I am destinating my message to the future people.
Well my answer to you question is a Yes! you are going to be asking yourself, but how?

Okey do not worry, Unity has a documentation page that explains everything from A to Z.

Adnane, but is it the Universal CSS that everyone knows? Well I can tell it isn’t! but why am I even saying that it’s possible since the beginning?

Well, because it’s possible but Unity has a USS (Unity style sheet) format. USS files are text files inspired by Cascading Style Sheets (CSS) from HTML. The USS format is similar to CSS, but USS includes overrides and customizations to work better with Unity.

Here is the link of the documentation: Unity - Manual: Style UI

If anyone is just interested in using a basic CSS to define Unity UI objects, I wrote a little plugin that lets you write or paste a block of CSS code into a UI object and modifying it accordingly:

The reason I wrote it is because I work a lot with UI designers that work with tools like Zeplin or Adobe XD which provide the CSS code of each element in the design so it’s easy to implement the design in Unity with maximum accuracy.