源代码:
下载代码
AI 编程工具
点击运行
<!doctype html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script src="https://cdn.tailwindcss.com"></script> <script> tailwind.config = { theme: { extend: { colors: { primary: { DEFAULT: '#1D4ED8', // 设置默认色调 }, }, }, }, }; </script> </head> <body> <h1 class="text-3xl font-bold underline text-primary"> Hello world! </h1> </body> </html>
运行结果: