cursor、通义灵码和豆包生成圣诞树html网页代码

背景

下面这张图是发这篇文章的初始原因,偶然间看到这个CSDN的热点任务,想要用AI辅助工具对比生成一份html文件,本篇文章只对比,没有结论,下面我把测试过程发出来。
在这里插入图片描述

对比过程

通义灵码

圣诞树html网页代码

<!DOCTYPE html>
<html>
<head>
    <title>圣诞树</title>
    <style>
        body {
     
            background-color: #000;
            color: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
        }
        .christmas-tree {
     
            font-size: 0;
        }
        .christmas-tree div {
     
            text-align: center;
            margin-bottom: -15px;
        }
        .christmas-tree span {
     
            display: inline-block;
            margin-bottom: 10px;
            color: green;
            font-size: 8px;
            width: 20px;
            height: 20px;
            line-height: 20px;
        }
        .star {
     
            color: yellow;
            font-size: 30px;
            margin-bottom: 10px;
        }
        .trunk {
     
            color: brown;
            font-size: 20px;
            margin-top: 10px;
        }
    </style>
</head>
<body>
    <div class="christmas-tree">
        <div class="star">*</div>
        <div><span>*</span></div>
        <div><span>*</span><span>*</span><span>*</span></div>
        <div><span>*</span><span>*</span><span>*</span><span>*</span><span>*</span></div>
        <div>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

京河小蚁

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值