💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
**position** * 描述:设置对象的定位方式。 * 版本:CSS2/3 * 继承性:无 **语法** ``` position: 样式值; ``` 样式值 **使用说明** **代码示例** ``` <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>position</title> <style> #container{ position: absolute; top: 20px; left: 50px; width: 100px; height: 100px; background-color: #FF6600; } </style> </head> <body> <div id="container"> position </div> </body> </html> ``` ![position](https://box.kancloud.cn/453b3dea36707dfeb7b20266fa055523_222x172.png)