RevealTheme logo

เครื่องมือสร้าง Border Radius CSS

สร้างค่า border-radius ที่ซับซ้อนใน CSS แบบมองเห็นภาพได้ ควบคุมแต่ละมุมได้อย่างอิสระ

border-radius: 20px 20px 20px 20px;

วิธีใช้เครื่องมือนี้

  1. 1

    Drag the TL, TR, BR, and BL sliders to set each corner radius in pixels (0 to 100).

  2. 2

    Watch the indigo preview box update live as you change each corner.

  3. 3

    Read the generated border-radius declaration in the code box below the sliders.

  4. 4

    Click Copy CSS to put the declaration on your clipboard, then paste it into your stylesheet.

เครื่องมือสร้าง Border Radius CSS คืออะไร?

คุณสมบัติ border-radius ของ CSS รับค่าได้สูงสุดสี่ค่า หนึ่งค่าต่อหนึ่งมุม ตามลำดับ มุมบนซ้าย มุมบนขวา มุมล่างขวา และมุมล่างซ้าย ผสมรัศมีที่แตกต่างกันเพื่อสร้างรูปทรงอินทรีย์คล้ายหยดน้ำ การ์ดแบบไม่สมมาตร หรือสไตล์กรอบคำพูด เครื่องมือนี้ให้คุณปรับแต่งแต่ละมุมด้วยแถบเลื่อนและดูผลลัพธ์แบบเรียลไทม์

กรณีการใช้งานทั่วไป

  • Rounding the corners of a card or panel component and copying the exact pixel value into a stylesheet.

  • Creating an asymmetric shape, like a chat bubble, by giving one corner a small radius and the others a larger one.

  • Prototyping a pill or capsule button by pushing all four sliders toward their maximum.

  • Matching a design spec that calls for different radii on the top corners versus the bottom corners.

  • Quickly testing how a corner radius looks at different pixel sizes before committing a value to a design system.

  • Teaching or demonstrating how the four-value border-radius shorthand maps to each corner.

คำถามที่พบบ่อย

แล้วรัศมีแบบวงรีล่ะ?
border-radius ยังรองรับสองค่าต่อหนึ่งมุมโดยคั่นด้วย / ซึ่งสร้างวงรีแทนที่จะเป็นวงกลม สำหรับการใช้งานพื้นฐาน ค่าเดียวต่อหนึ่งมุมก็เพียงพอแล้ว

เครื่องมือที่เกี่ยวข้อง

เครื่องมือแปลงสี (HEX/RGB/HSL)

แปลงสีระหว่างรูปแบบ HEX, RGB และ HSL เลือกสีด้วยภาพหรือป้อนค่าด้วยตนเอง

เครื่องมือสร้าง Box Shadow CSS

สร้างค่า box-shadow ใน CSS แบบมองเห็นภาพได้ ดูตัวอย่างแบบเรียลไทม์และคัดลอก CSS ที่สร้างขึ้น

เครื่องมือสร้างไล่ระดับสีของ CSS

สร้างไล่ระดับสีของ CSS แบบเส้นตรงและแบบรัศมี เลือกสีแบบเห็นภาพและคัดลอก CSS ที่สร้างขึ้น

เครื่องมือสร้างเส้นโค้งการเร่งความเร็ว Cubic Bezier

สร้างเส้นโค้งการเร่งความเร็ว cubic-bezier สำหรับ CSS รวมค่าที่ตั้งไว้ล่วงหน้าแบบมาตรฐาน

เครื่องมือสร้างชุดสี

สร้างชุดสีที่กลมกลืนจากสีฐานใดก็ได้ รองรับโทนสีคู่ตรงข้าม สีข้างเคียง สามสีไตรแอด และสีโมโนโครม

ตัวสร้าง CSS Clamp()

สร้างค่า CSS แบบลื่นไหลและตอบสนองด้วย clamp() ปรับขนาดอย่างนุ่มนวลระหว่างขนาดต่ำสุดและสูงสุดตลอดช่วงของ viewport

สมัครรับข่าวสารอัปเดต

เราไม่ขายอีเมลของคุณ เราไม่ส่งสแปม

© 2026 RevealTheme. All rights reserved.