我在网页中打了一个叉叉的符号,怎么样用css样式把这个叉叉边大变粗?

html-css02

我在网页中打了一个叉叉的符号,怎么样用css样式把这个叉叉边大变粗?,第1张

<strong>叉叉</strong><span style="font-weight:boldfont-size:30px">叉叉</span>都可以!

希望采纳

1.H5网页touch滑动的时候在苹果手机上出现不流畅的问题

-webkit-overflow-scrolling 用来控制元素在移动设备上是否使用滚动回弹效果.

解决办法:给所有网页添加如下样式

说明:

-webkit-overflow-scrolling: touch当手指从触摸屏上移开,会保持一段时间的滚动

-webkit-overflow-scrolling: auto当手指从触摸屏上移开,滚动会立即停止

2. css 苹果手机按钮默认样式如何去掉

input[type="button"], input[type="submit"], input[type="reset"] {-webkit-appearance: none}

textarea { -webkit-appearance: none}

3. 如果还有圆角的问题,

** 4.苹果手机不支持box-shadow属性**

如果先给input写边框,用 border:1px solid #ccc

5、去除Chrome等浏览器文本框默认发光边框

6.去掉高光样式:

当然这样以来,当文本框载入焦点时,所有浏览器下的文本框的边框都不会有颜色上及样式上的变化了,这样的话,当文本框载入焦点时,边框颜色就会变为橙色,给用户一个反馈。

7、去除IE10+浏览器文本框后面的小叉叉,只需下面一句就ok了

input::-ms-clear {display: none}

8.H5页面写出来,在chrome中出现如下错误,只需添加如下css即可解决

*{touch-action: pan-y}

手机设备下的界面

正常浏览器下的html5界面

要解决该问题需要加入一些css样式,如下:

input[type="button"], input[type="submit"], input[type="reset"] {

-webkit-appearance: none

-moz-appearance: none

appearance: none

}

如果还有圆角的问题,

.button{ border-radius: 0}

在写表单时候会发现一些浏览器对表单赋了默认的样式,如在谷歌浏览器下,文本框和下拉选择框当载入焦点时,会出现发光的边框!文本框textarea可以自由拖拽拉大!在IE10下,文本框输入内容后,会在右侧出现一个小叉叉。面对这些问题,下面来看看解决方法。

去除谷歌等浏览器文本框默认发光边框

input:focus, textarea:focus {

outline: none

}

去掉高光样式:

input:focus{

-webkit-tap-highlight-color:rgba(0,0,0,0)

-webkit-user-modify:read-write-plaintext-only

}

也可以重新根据自己的需要设置一下,如:

input:focus,textarea:focus {

outline: none

border: 1px solid #f60

}

这样的话,当文本框载入焦点时,边框颜色就会变为橙色,增强用户体验!

去除IE10+浏览器文本框后面的小叉叉

input::-ms-clear {

display: none

}

禁止多行文本框textarea拖拽

添加属性多行文本框就不能拖拽放大缩小了:

textarea {

resize: none

}