我写css使li标签更好.
笔记本电脑和手机(lenovo vibe 1)和华硕zenfone 5都可以
但是当我在Iphone 5和Galaxy Note3上测试时,我的颜色(rgb(240,230,140))显示为红色和黑色.
我不知道我的CSS有什么问题.我应该使用图像而不是css还是有css的解决方案?谢谢.
这是我的css:
ul.anamenu li::before {
content: "? ";
color: rgb(240, 230, 140);
font-size: 4vmin;
text-indent: -2em;}
Run Code Online (Sandbox Code Playgroud) 我在一个多语言网站上工作,我正在使用 JSON-LD 准备 Schema.org 标记。重要细节:本网站使用语言子目录。让我们考虑两种语言:
https://www.example.com/https://www.example.com/fr/我想把Corporation和WebSite东西放在所有本地化的惠普上。一切正常,但对于@id,url和inLanguage属性:我不太知道我应该填写什么。
对于Corporation,我想我是对的:我将在所有页面上使用默认 url 并以此为基础@id:
{
"@context": "http://schema.org",
"@type": "Corporation",
"@id": "https://www.example.com/#organization",
"name": "Example",
"url": "https://www.example.com/",
...
Run Code Online (Sandbox Code Playgroud)
但是WebSite,在我的法国 HP 上,房地产的最佳举措是什么?从技术上讲,/fr/子文件夹是example.com/域的一部分。但是@id,inLanguage并url没有告诉我的网站也适用于讲法语的人。
{
"@context": "http://schema.org",
"@type": "WebSite",
"@id": "https://www.example.com/#website", // should this be "https://www.example.com/fr/#website" ?
"name": "Example",
"url": "https://www.example.com/", // should this be "https://www.example.com/fr/" ?
"inLanguage": "en", // …Run Code Online (Sandbox Code Playgroud) multilingual localization structured-data schema.org json-ld
colors ×1
css ×1
html-lists ×1
json-ld ×1
localization ×1
mobile ×1
multilingual ×1
schema.org ×1