Bài đăng

Hiển thị các bài đăng có nhãn backup

🌈 Tự Động Highlight Code Trong Blogger

Phần style pre code { white-space: pre-wrap; word-break: break-word; } .code-wrapper { position: relative; } .copy-button { position: absolute; top: 8px; right: 8px; background: #444; color: #fff; border: none; font-size: 0.75rem; padding: 4px 8px; border-radius: 6px; cursor: pointer; opacity: 0.7; z-index: 9; } .copy-button:hover { opacity: 1; } Chèn trước thẻ đóng head Code nhiều dòng hay 01 dòng xài giống nhau: const msg = "Xin chào Tiến sĩ M!"; console.log(msg); Code 01 dòng: document.querySelector() Thẻ nào quá phức tạp thì xài như sau: < pre class = "language-js" data-keep-markup >   < code >     Nội dung...   </ code > </ pre > Chèn trước thẻ đóng body <b:if cond='t...

🎨Cấu hình bảng ai-table cho Blogger

Chèn trước thẻ đóng  </ head > < style >       /* ==== Bảng .ai-table (sáng) ==== */       table.ai-table {         width : 100% ;         border-collapse : separate ;         border-spacing : 0 ;         margin : 1em 0 ;         font-size : 14px ;         line-height : 1.5 ;         background : #fff ;         /* 🎯 Hiệu ứng giống AdminLTE nhưng dùng màu xám */         border : 1px solid #ccc ;         border-radius : 8px ;         box-shadow : 0 2px 6px rgba ( 0 , 0 , 0 , 0.05 ); /* nhẹ và tinh tế */         overflow : hidden ;       }       /* Header bảng */       .ai-table thead {         background-color : #f2f2f2 ;   ...