स्निपेट·मुफ़्त
HTML और CSS स्निपेट
8 HTML स्निपेट (पेज लैंडमार्क, Open Graph टैग, picture, dialog, हेडर वाली टेबल) और 12 CSS स्निपेट (रीसेट, grid लेआउट, clamp, डार्क मोड वेरिएबल, कम मोशन, container query)।
मुफ़्त में इंस्टॉल करें।
अगर आपके Android डिवाइस पर PocketCode इंस्टॉल है, तो यह पेज ऐप में खुलेगा।
प्रीव्यू
20 में से 5
Page layout with landmarkslayout
Header, nav, main and footer for a page body
<header>
<nav aria-label="${1:Main}">
<a href="/">${2:Home}</a>
</nav>
</header>
<main>
$0
</main>
<footer>
<p>${3:Footer text}</p>
</footer>Social preview meta tagsogmeta
Description and Open Graph tags for link previews
<meta name="description" content="${1:Page description}">
<meta property="og:title" content="${2:Page title}">
<meta property="og:description" content="${1:Page description}">
<meta property="og:image" content="${3:https://example.com/cover.png}">
<meta name="twitter:card" content="summary_large_image">Responsive imagepicture
WebP with a JPEG fallback, fixed size and lazy loading
<picture>
<source srcset="${1:image.webp}" type="image/webp">
<img src="${2:image.jpg}" alt="${3:Description}" width="${4:800}" height="${5:600}" loading="lazy">
</picture>Input with a labellabeled
Labelled input with autocomplete and required
<label for="${1:email}">${2:Email}</label>
<input id="${1:email}" name="${1:email}" type="${3:email}" autocomplete="${4:email}" required>Native dialogdlg
dialog element whose buttons close it with a return value
<dialog id="${1:confirm}">
<form method="dialog">
<p>${2:Are you sure?}</p>
<button value="cancel">${3:Cancel}</button>
<button value="ok">${4:OK}</button>
</form>
</dialog>1.0.0 में बदलाव
पहला संस्करण।