头像

cxd

华东师范大学




离线:24分钟前


最近来访(5)
用户头像
interesting_soul
用户头像
lazy_man
用户头像
山楂球
用户头像
acmdyh
用户头像
hhf


cxd
1小时前
  • 多选情况下只有点击前面的小圆圈才能选中
  • 点击小圆圈选择后,下拉框不关闭

https://www.programminghunter.com/article/8307574359/




cxd
9小时前

vue-cli3.0之后创建的项目静态资源都放在了根目录下的public目录下

public中嵌套文件夹后仍然可以读取

https://blog.csdn.net/AE_yang/article/details/121914152




cxd
3天前

需要选择深度选择器

/deep/.el-input__inner

https://blog.csdn.net/qq_38344500/article/details/108446315




cxd
5天前



cxd
5天前

https://www.rosehosting.com/blog/how-to-install-bugzilla-on-ubuntu-20-04/

wget https://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-5.0.6.tar.gz 已失效

有些命令执行如果报错的话试试加上 “sudo”, 非root用户一般是权问题。



活动打卡代码 工程课 Web-2.6. homework_6

cxd
5天前

margin: 0 auto; 中的 auto 实现了在父标签中水平居中的效果。

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 100px;
            height: 100px;
            background-color: lightsalmon;
        }

        div:nth-child(1) {
            margin: 10px 20px 30px 40px;
            padding: 10px 20px 30px 40px;
        }

        div:nth-child(2) {
            margin: 0 auto;
        }
    </style>
</head>

<body>
    <div>文本1</div>
    <div>文本2</div>
</body>

</html>




cxd
5天前

报错场景:
centos 的 docker容器中安装了 apache 服务器, 企图通过 service httpd start 来启动 apache 时遇到该报错

解决方法:
https://programmerah.com/linux-docker-error-failed-to-get-d-bus-connection-operation-not-permitted-2814/




cxd
5天前

报错场景:
centos的docker容器中安装了 apache 服务器, 企图通过 service httpd start 来启动 apache 时遇到该报错

解决方法:
yum -y install initscripts && yum clean all



活动打卡代码 工程课 Web-2.5. homework_5

cxd
5天前
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        .container {
            display: block;
            width: 500px;
            height: 500px;
            padding: 10px;
            margin: 20px;
            background-color: lightblue;
        }

        .inline-block-div {
            display: inline-block;
            width: 100px;
            height: 100px;
            padding: 10px;
            margin: 10px;
            background-color: blue;
            color: white;
        }

        span {
            display: inline;
            padding-left: 10px;
            padding-right: 10px;
            margin-left: 20px;
            margin-right: 20px;
            background-color: bisque;
            color: green;
        }

        .block-div {
            display: block;
            width: 100px;
            height: 100px;
            padding: 10px;
            margin: 10px;
            background-color: blue;
            color: white;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="inline-block-div">div-1</div>
        <div class="inline-block-div">div-2</div>
        <div class="inline-block-div">div-3</div>
        <br>
        <span>span-1</span>
        <span>span-2</span>
        <span>span-3</span>
        <br>
        <div class="block-div">
            123456789101112
        </div>
    </div>
</body>

</html>


活动打卡代码 工程课 Web-2.4. homework_4

cxd
6天前
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div></div>
    <div></div>
</body>
<style>
    div {
        width: 300px;
        height: 300px;
    }

    div:nth-child(1) {
        border-width: 10px;
        border-style: solid dotted inset dashed;
        border-color: blue red;
        border-radius: 50%;
    }

    div:nth-child(2) {
        border: solid 3px black;
        border-radius: 10px;
    }
</style>

</html>