cuốn sách gpt4 ai đã làm

CSS, phông chữ, trình tạo sóc

In lại Tác giả: Walker 123 更新时间:2023-11-28 17:37:26 30 4
mua khóa gpt4 Nike

我尝试通过 Squirrel 理解生成的代码,这里是输出:

@font-face {
font-family: 'someFont';
src: url('someFont.eot');
src: url('someFont.eot?#iefix') format('embedded-opentype'),
url('someFont.woff') format('woff'),
url('someFont.ttf') format('truetype'),
url('someFont.svg#someFont') format('svg');

độ dày phông chữ: bình thường;
kiểu phông chữ: bình thường;
}

我不明白为什么第一个src: url('someFont.eot');甚至是必需的,我确实理解 IE problem所以我了解以下要求:src: url('someFont.eot?#iefix') format('embedded-opentype'),但是第一个src的原因是什么? ?

最后要注意的是 #someFont 的原因是什么在 someFont.svg 之后是否需要它来防止某种错误?

câu trả lời hay nhất

src: url('someFont.eot'); 用于 IE9 兼容模式,而 src: url('someFont.eot?#iefix') format('embedded-opentype ') 适用于 IE6 到 IE8。

关于CSS、字体、松鼠生成器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24839261/

30 4 0
Walker 123
Hồ sơ

Tôi là một lập trình viên xuất sắc, rất giỏi!

Nhận phiếu giảm giá taxi Didi miễn phí
Phiếu giảm giá taxi Didi
Chứng chỉ ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com
Xem sitemap của VNExpress