1. Introduction Since pictures take up a lot of space and the more pictures there are, the harder it is to manage, so sometimes we can use some simple label styles to implement simple graphic logos to replace pictures. 2. Example display: Triangle Example Sample code: <style type="text/css"> .triangle b { border: 5px solid #fff; border-left: 5px solid #353535; margin: 0; font-size: 0; } </style> Directional Arrow Examples Sample code: <style type="text/css"> .mark b{border:solid #D0D0D0;width:6px;height:6px;display:inline-block;} .mark b.lmark{border-width:2px 2px 0 0;transform: rotate(45deg);} </style> Empty circle *{ padding:0; margin:0; } div:before{ content:""; width:20px; height:20px; position:absolute; top:-10px; left:40px; border-radius:50%; background-color:white; } div{ position:relative; width:100px; height:100px; margin:100px auto; box-shadow:0 0 2px red; background-color:#ccc; } This is the end of this article about using CSS to implement special logos or graphics. For more relevant CSS special logo content, please search 123WORDPRESS.COM’s previous articles or continue to browse the related articles below. I hope everyone will support 123WORDPRESS.COM in the future! |
<<: Detailed explanation of how to use JS to achieve the effect of PS eraser scratch card in canvas
>>: 50 Super Handy Tools for Web Designers
<br />The most common mistake made by many w...
This article shares the specific code of jQuery t...
Table of contents Preface Problem: Large file cop...
Copy code The code is as follows: <html> &l...
This article uses examples to illustrate the prin...
This article example shares the specific code of ...
SVN service backup steps 1. Prepare the source se...
Official website address: https://www.mysql.com/ ...
How much do you know about HTML? If you are learni...
Today, when verifying the concurrency problem of ...
CSS3 can change the color of pictures. From now o...
mysqldump command Introduction: A database backup...
Table of contents Overview Four examples Example ...
Method 1: Use CSS overflow omission to solve The ...
Table of contents 1. Introduction 2. Prototype ch...