html - 使用 CSS 更改热点 map 中的数字

标签 html css counting

我对我尝试制作的这个 HTML 5 热点 map 有疑问。默认情况下,数字以 1 开头(发光热点)。但我需要获取链接才能从 7 点开始。

.cq-hotspots .hotspot-item a i {
display: block;
font-size: 12px;
position: relative;
width: 100%;
text-align: center;
font-style: normal;
color: #fff;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);

有没有办法只使用 CSS 使计数从 7 而不是 1 开始?

网页:http://www.welzendesign.com/drielandenpunt/dagje-drielandenpunt/plattegrond/

提前致谢

最佳答案

简短的回答是否定的,您不能使用 css 更改文本。您将不得不改用 JavaScript/JQuery

关于html - 使用 CSS 更改热点 map 中的数字,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31972916/

相关文章:

html - 如何让这个 HTML 元素居中?

html - 需要正确的 CSS 来更改 html 按钮的事件状态吗?

使用 OpenCV 进行 C++ 生物细胞计数

CSS图像填充所有屏幕,图像中间有透明元素

r - 计数出现和未出现的出现

MySql:计算行直到值改变

html - 在div中垂直居中文本?

javascript - ionic : How do i load only 1 image from my json file?

javascript - 输入到form,输出到iframe URL

html - 让 bootstrap 下拉菜单只向下移动?