tj / ejs

Embedded JavaScript templates for node
4.47k stars 513 forks source link

Hello,Layout problem #242

Open wuming123 opened 5 years ago

wuming123 commented 5 years ago

I need a particular PX layout in some case

For example, a div component is 500 PX when it is less than 500 PX and auto set when it is more than 500 px.

How should I write it?

Thanks