css创建返回箭头< 和搜索按钮

<!DOCTYPE html>
<html lang="en" class="muui-theme-webapp-main">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport"
          content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no,initial-scale=1">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-status-bar-style" content="white">
    <meta name="apple-mobile-web-app-capable" content="no">
    <title>Css arrow</title>
</head>
<style type="text/css">
    #triangle-facing-right {
        display: inline-block;
        margin: 72px;
        border-right: 24px solid; border-bottom: 24px solid;
        width: 120px; height: 120px;
        transform: rotate(-45deg);
    }
    #triangle-facing-left {
        display: inline-block;
        margin: 72px;
        border-left: 24px solid; border-bottom: 24px solid;
        width: 120px; height: 120px;
        transform: rotate(45deg);
    }
</style>
<body>
<div id="triangle-facing-right"></div>
<div id="triangle-facing-left"></div>
</body>
</html>

<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
<title>css搜索图标</title>
<style>
.icon-search{
	width: 12px;height: 12px;
	border-radius: 100%;
	border:2px solid currentcolor;
	position: relative;
	margin:30px auto;
}
.icon-search:after{
	content: "";
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	transform: rotate(45deg);
	width:8px;
	height: 2px;
	position: absolute;
	top:13px;
	left:11px;
	background-color: currentcolor;
}
</style>
</head>
<body>
	<div class="icon-search"></div>
</body>
</html>

相关推荐

  1. css 手写返回箭头

    2024-01-22 06:46:04       36 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-01-22 06:46:04       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-01-22 06:46:04       106 阅读
  3. 在Django里面运行非项目文件

    2024-01-22 06:46:04       87 阅读
  4. Python语言-面向对象

    2024-01-22 06:46:04       96 阅读

热门阅读

  1. for...in、for...of、for...Each的详细区别!

    2024-01-22 06:46:04       54 阅读
  2. 设计模式-命令模式

    2024-01-22 06:46:04       65 阅读
  3. kotlin flatten 与 flatMap

    2024-01-22 06:46:04       55 阅读
  4. Centos系统上安装PostgreSQL和常用PostgreSQL功能

    2024-01-22 06:46:04       56 阅读
  5. 【LeetCode-134】加油站(贪心)

    2024-01-22 06:46:04       56 阅读
  6. Django笔记(五):模型models

    2024-01-22 06:46:04       58 阅读