البرمجة

كيفية إضافة عنصر style في Jade/Pug

In Jade/Pug, you can add a style tag in the header by using the pipe (|) followed by your CSS code. Here’s how you can achieve this:

jade
html head style(type="text/css"). table { width: 100%; } body table

The | is used to indicate a block of text in Jade/Pug, which is then rendered as-is without any interpretation. This should help you include your CSS code in the header without any syntax errors.

المزيد من المعلومات

في لغة Jade/Pug، يمكنك إضافة عنصر