Initial commit of 001code-html Scratch frontend project.
Includes scratch-gui, scratch-vm, scratch-blocks, scratch-render, scratch-l10n, and deployment config. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
43
test-layout.html
Normal file
43
test-layout.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>按钮布局测试</title>
|
||||
<link rel="stylesheet" href="scratch-gui/static/css/welcome.css">
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
background: #f0f0f0;
|
||||
}
|
||||
.test-container {
|
||||
max-width: 280px;
|
||||
margin: 0 auto;
|
||||
background: linear-gradient(to bottom, #31cdee, #0962a4);
|
||||
border-radius: 30px;
|
||||
padding: 20px;
|
||||
box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
|
||||
}
|
||||
.test-title {
|
||||
color: white;
|
||||
text-align: center;
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="test-container">
|
||||
<div class="test-title">编程闯关</div>
|
||||
<div class="programming-buttons-container">
|
||||
<button class="u-align-center u-border-none u-btn u-btn-round u-button-style u-custom-item u-gradient u-none u-radius u-text-white u-btn-1 programming-btn-top">图形化编程</button>
|
||||
<div class="programming-buttons-row">
|
||||
<button class="u-align-center u-border-none u-btn u-btn-round u-button-style u-gradient u-none u-radius u-text-white u-btn-2 programming-btn-bottom">Python编程</button>
|
||||
<button class="u-align-center u-border-none u-btn u-btn-round u-button-style u-gradient u-none u-radius u-text-white u-btn-cpp programming-btn-bottom">C++编程</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user