Sử dụng các cột thuộc tính để đặt cột bằng CSS. Bạn có thể thử chạy mã sau để triển khai các cột tài sản:
Ví dụ
<!DOCTYPE html> <html> <head> <style> .demo { column-rule-color: gray; columns: 100px 4; column-rule-style: dashed; } </style> </head> <body> <div class = "demo"> This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. </div> </body> </html>