コンテンツ表示コンポーネント
グレースケールの配色とレスポンシブデザインで作品や製品を紹介する3Dデザインポートフォリオで、ダークモードをサポートします。
HTMLコード
<div class="min-h-screen bg-gray-100 dark:bg-gray-900 p-10 flex flex-col items-center justify-center">
<h1 class="text-3xl font-bold mb-5 text-gray-800 dark:text-gray-200">Portfolio</h1>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-lg transform transition-all duration-300 hover:scale-105">
<img class="w-full h-48 rounded-t-lg" src="https://picsum.photos/300/200?random=1" alt="Artwork 1">
<div class="p-5">
<h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Project Title 1</h2>
<p class="text-gray-600 dark:text-gray-400">Short description of the project goes here.</p>
</div>
</div>
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-lg transform transition-all duration-300 hover:scale-105">
<img class="w-full h-48 rounded-t-lg" src="https://picsum.photos/300/200?random=2" alt="Artwork 2">
<div class="p-5">
<h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Project Title 2</h2>
<p class="text-gray-600 dark:text-gray-400">Short description of the project goes here.</p>
</div>
</div>
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-lg transform transition-all duration-300 hover:scale-105">
<img class="w-full h-48 rounded-t-lg" src="https://picsum.photos/300/200?random=3" alt="Artwork 3">
<div class="p-5">
<h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Project Title 3</h2>
<p class="text-gray-600 dark:text-gray-400">Short description of the project goes here.</p>
</div>
</div>
</div>
<footer class="w-full text-center mt-10 text-gray-600 dark:text-gray-400">
<p>© 2023 Your Name. All rights reserved.</p>
</footer>
</div>
関連コンポーネント
コンテンツ表示コンポーネント
ダークモードのサポートと鮮やかな配色を備えたビジネス/企業のWebサイト向けに設計されたレスポンシブコンテンツ表示コンポーネント。これには、ユーザーアバター、テキストコンテンツ、および画像のセクションが含まれています。
Swiss_International_Typography_Content_Display_Component
ダッシュボード用のすっきりとしたミニマリストコンテンツ表示コンポーネントで、クールなニュートラルカラーと完全な応答性を備えたタイポグラフィとグリッドシステムを強調しています。
Pastel3DBログコンテンツカード
Tailwind CSS で設計された、ブログやコンテンツ セクション用のレスポンシブ コンテンツ表示コンポーネント。シンプルなレイアウトで、シャドウやホバーエフェクトを使用した3Dにインスパイアされた美学が特徴です。配色はライトモード用のソフトパステル調で、互換性のあるダークモードのテーマがあります。このコンポーネントには、画像、タイトル、メタデータ(著者/日付)、抜粋、および「続きを読む」ボタンが含まれています。プレースホルダー画像は、picsum.photos と randomuser.me から使用されます。