html手机图片怎么把白边去除,css插入背景图,底线留有白边,怎么才能去掉?...

试了网上的方法,都不好使

#body, body {

/*background: #f0f0f0;*/

}

html, body{

height:100%;

width:100%;

/*padding:0px;*/

/*border:0px;*/

/*margin:0px;*/

/*box-sizing: border-box;*/

}

img{

border:0px

}

.bg42beff {

background: #42beff;

}

.index-root {

height: 100%;

box-sizing: border-box;

margin: 0;

border: 0;

padding: 0;

background: url("../images/bg.jpeg") repeat-y center;

vertical-align: middle;

/*background-size: auto 100%;*/

font-size: 0;

}

.index-title {

width: 100%;

height: 44px;

overflow: hidden;

background-color: #51a1ff;

line-height: 44px;

font-size: 18px;

color: #fff;

text-align: center;

}

.flex-center {

display: flex;

justify-content: center;

align-items: center;

}

.title-return {

width: 50px;

height: 44px;

background: url(../images/arrow_left.png) 50% no-repeat;

background-size: 18px auto;

left: 0;

top: 0;

position: absolute;

}

.logo-container {

width: 100%;

box-sizing: border-box;

padding-left: 10px;

padding-right: 10px;

margin-top: 10px;

display: flex;

justify-content: center;

align-items: center;

}

.logo-image {

width: 230px;

display: block;

height: 230px;

}

.button-create {

width: 100px;

height: 50px;

background: #51a1ff;

color: #ffffff;

}

.mode-select-container {

width: 100%;

/*background: #99FF00;*/

box-sizing: border-box;

margin-top: 10px;

overflow: hidden;

}

.mode-select-container::after {

clear: both;

content: '';

display: block;

}

.buttons-room-container {

width: 84.8%;

height: 44px;

border-radius: 4px;

font-size: 18px;

margin: 19px auto;

line-height: 44px;

/*border-radius: 20px;*/

box-sizing: border-box;

/*background: #99FF00;*/

display: flex;

justify-content: space-between;

padding-left: 10px;

padding-right: 10px;

color: #ffffff;

}

.button-create-room, .button-join-room {

width: 150px;

background-color: #42beff;

}

.buttons-mode-container {

width: 84.8%;

height: 44px;

border-radius: 4px;

font-size: 18px;

margin: 19px auto;

line-height: 44px;

/*border-radius: 20px;*/

box-sizing: border-box;

background: #99FF00;

display: flex;

justify-content: space-between;

padding-left: 10px;

padding-right: 10px;

color: #ffffff;

}

.button-tourist-mode, .button-match-mode, .button-qualifying-mode {

width: 100px;

background-color: #42beff;

}

.buttons-videos-container {

width: 84.8%;

height: 44px;

border-radius: 4px;

font-size: 18px;

margin: 19px auto;

line-height: 44px;

/*border-radius: 20px;*/

box-sizing: border-box;

background: #99FF00;

display: flex;

justify-content: space-between;

padding-left: 10px;

padding-right: 10px;

color: #ffffff;

}

.button-tutorial-videos {

}

全球首款吐槽类历史游戏 - 战斗棋

logo_temporary.png

无论你的过去、现在或者未来多么辉煌
终不过是我手中的一枚棋子
创建房间
加入房间
排位模式
匹配模式
游客模式
新手教程

bVbGNHN

bVbGNHB

我把代码抽出来了

战斗棋 - 首页

#body, body {

/*background: #f0f0f0;*/

}

html, body{

height:100%;

width:100%;

/*padding:0px;*/

/*border:0px;*/

/*margin:0px;*/

/*box-sizing: border-box;*/

}

img{

border:0px

}

.bg42beff {

background: #42beff;

}

.index-root {

height: 100%;

box-sizing: border-box;

margin: 0;

border: 0;

padding: 0;

background: url(./assets/images/bg.jpeg) 50% no-repeat;

vertical-align: middle;

/*background-size: auto 100%;*/

font-size: 0;

background-size: cover;

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值