Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

实现 扇形 #225

Open
Sunny-117 opened this issue Nov 4, 2022 · 2 comments
Open

实现 扇形 #225

Sunny-117 opened this issue Nov 4, 2022 · 2 comments

Comments

@Sunny-117
Copy link
Owner

No description provided.

@gaomiaoer1
Copy link

gaomiaoer1 commented Mar 12, 2023

div{ width: 100px; height: 100px; background: green; border-radius: 100px 0 0 0; }

@morp-hex
Copy link

morp-hex commented Mar 17, 2023

<style>
        div {
            width: 150px;
            height: 150px;
            border: 70px solid transparent;
            border-radius: 50%;
            /* 通过z轴实现任意角度旋转 */
            transform: rotateZ(15deg);
            border-right-color: #000;
            background-color: #eeeeee;
        }
</style>
<div></div>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants