タグ

cssに関するdgdgのブックマーク (6)

  • Fluid Width YouTube Videos | CSS-Tricks

    This article was originally written on September 2, 2010 and is now being updated to be mo’ better. It now handles YouTube videos of different aspect ratios, the new iframe embed method, and with more efficient scripts. The code that YouTube gives you to embed a video is now a very simple iframe. Here’s an example: <iframe width="1280" height="750" src="//www.youtube.com/embed/fXm9EwzSjO4?rel=0&am

    Fluid Width YouTube Videos | CSS-Tricks
  • jsdo.it

    Come creare il miglior gioco da casinò Quando si progetta un gioco da casinò, la prima cosa che devi considerare è che tipo di gioco sarà. Ci sono molti diversi tipi di giochi da casinò, dalle slot e video poker ai giochi da tavolo e giochi di carte. Dovrai decidere quale tipo di gioco si adatta meglio alle tue esigenze. Ogni tipo di gioco ha il proprio set di regole e regolamenti, quindi dovrai a

  • Wrapping Long URLs and Text Content with CSS | Perishable Press

    Quick tutorial post today. To wrap long URLs, strings of text, and other content, just apply this carefully crafted chunk of CSS code to any block-level element (e.g., perfect for <pre> tags): pre { white-space: pre; /* CSS 2.0 */ white-space: pre-wrap; /* CSS 2.1 */ white-space: pre-line; /* CSS 3.0 */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ white-space: -m

  • Writing Efficient CSS - MDC

    この記事は、Mozilla Japan 翻訳部門もしくはその関連グループによりすでに翻訳済みのものを移行してきました 移行元の文書。英語版と内容が異なる場合や、MDC の他の記事と整合性のとれていない場合があります。 以下の文書では Mozilla の UI で使用する CSS ファイルの最適化についての規則を概説します。最初の節では Mozilla のスタイルシステムにおけるルール分類の要について書きます。このシステムについて理解してもらった上で、続く節では Mozilla のスタイルシステムの力を最大限に発揮するルールの書き方を説明します。 【訳注: CSS スタイルのマッチング処理に於いては、ルール集合のうち各要素に対してマッチするものがないか順に全て調べていく必要があり、単純計算では (要素数)×(ルール数) 回のマッチング処理が必要になってしまいます。如何にしてこれを効率化するの

  • Román Cortés » CSS 3D Meninas

    Último proyecto completado: Chimeneas Rofer & Rodi Proyecto actual en curso: Arteforo (versión en castellano abajo) I’ve took the classic paint The Maids of Honour (Las Meninas) and made this CSS pseudo-3D/parallax effect. It is pure CSS, so no javascript or flash involved: only CSS and HTML code. It has been tested and it is working on Internet Explorer 8, Firefox 3, Opera 9, Safari 3, Chrome 4 a

    dgdg
    dgdg 2009/12/17
    領域を線切りにしておいて、各区画をhover時にその区画に隠しておいた背景を前面に表示。CSSでそれぞれの区画での背景の位置を定義しておく。/ ブラウザは:hoverに対応してればOK。CSS3は要らないよ!!
  • The Definitive Guide to Using Negative Margins — Smashing Magazine

    Since the recommendation of CSS2 back in 1998, the use of tables has slowly faded into the background and into the history books. Because of this, CSS layouts have since then been synonymous with coding elegance. Since the recommendation of CSS2 back in 1998, the use of tables has slowly faded into the background and into the history books. Because of this, CSS layouts have since then been synonym

    The Definitive Guide to Using Negative Margins — Smashing Magazine
    dgdg
    dgdg 2009/07/29
    negative margins
  • 1