Set ol-zoom content in css using :before pseudo class

This commit is contained in:
Frederic Junod
2013-03-03 12:23:29 +01:00
parent 7d79a77052
commit 0fcc06b8ae
2 changed files with 9 additions and 2 deletions

View File

@@ -67,6 +67,13 @@
.ol-zoom-in {
border-radius: 2px 2px 0 0;
}
.ol-zoom-in:before {
content: "+";
}
.ol-zoom-out {
border-radius: 0 0 2px 2px;
}
.ol-zoom-out:before {
content: "\2212";
}