a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

.imglist {
    width: 292px;
    height: 240px;
}

:root {
    --borderColor: #03A9F3;
}

.list {
    position: relative;
    width: 294px;
    height: 290px;
    margin: 10px;
    border: 1px solid #03A9F3;
    cursor: pointer;
    float: left;
}

.list::before,
.list::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    transition: .3s ease-in-out;
}

.list::before {
    top: -5px;
    left: -5px;
    border-top: 1px solid var(--borderColor);
    border-left: 1px solid var(--borderColor);
}

.list::after {
    right: -5px;
    bottom: -5px;
    border-bottom: 1px solid var(--borderColor);
    border-right: 1px solid var(--borderColor);
}

.list:hover::before,
.list:hover::after {
    width: calc(100% + 9px);
    height: calc(100% + 9px);
}

.pname {
    text-align: center;
    font-size: 20px;
    background: #c6cad0;
    padding: 11px;
    color: black;
}

.list:hover .pname {
    background-color: #b0b7c2;
}

* {
    box-sizing: border-box;
}

div.search {
    padding: 10px 0;
}

form {
    position: relative;
    width: 300px;
    margin: 0 auto;
}

#soushuo, button {
    border: none;
    outline: none;
}

#soushuo {
    width: 100%;
    height: 42px;
    padding-left: 13px;
}

button {
    height: 42px;
    width: 42px;
    cursor: pointer;
    position: absolute;
}

/*搜索框1*/
.bar1 {
    background: #ebf1f1;
}

#soushuo {
    border: 2px solid #4f86e4;
    border-radius: 5px;
}

.bar1 button {
    top: 0;
    right: 0;
    background: #4f86e4;
    border-radius: 0 5px 5px 0;
}

.bar1 button:before {
    content: "\f002";
    font-family: FontAwesome;
    font-size: 16px;
    color: #F9F0DA;
}

#list {
    overflow-x: auto;
/ / 设置x轴可滑动 list-style: none;
/ / 去掉li上的小点 white-space: nowrap;
/ / 元素不换行 width: auto;
(宽度)
}

.item {
    margin-left: 20px;
/ / 每个li设置间距为20px display: inline-block;
/ / 让所有的li在一行 注意这里不能用float: left 因为设置float后里超过一屏后会自动换行
}

#list {
    displey: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row nowrap;
/ / 设置排列方式为横向排列，并且超出元素不换行 flex-flow: row nowrap;
    overflow-x: auto;
    list-style: none;
}

#list::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 8px; /*高宽分别对应横竖滚动条的尺寸*/
    height: 10px;
}

#list::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 10px;
    background: rgb(78, 133, 227);
    box-shadow: inset 0 0 5px rgb(78, 133, 227);
}

#list::-webkit-scrollbar-track {
    border-radius: 10px;
    background: #ededed;

    /*滚动条里面轨道*/
    box-shadow: inset 0 0 5px rgba(0, 0, 0, .1);
}

#list {
    width: 100%;
    margin: 0px;
}

#list li {
    border: 1px solid silver;
    margin: 10px 10px;
    cursor: pointer;
}