MIYAKEYUU STUDIO: The Works Report of Sound Creator Yuu Miyake. Extracted Works Since 1997.

CSS test float-flex

のびのびBOY / Noby Noby Boy



塊魂 / Katamari Damacy

リッジレーサー / RIDGE RACER

鉄拳 / Tekken
< // 複数埋め込みにも対応するよう、youtubeというclassに対してループで処理 $('.youtube').each(function() { var iframe = $(this).children('iframe'); // data-srcからURLを取得 var url = iframe.attr('data-src'); // URLから動画IDを取得 var id = url.match(/[\/?=]([a-zA-Z0-9_-]{11})[&\?]?/)[1]; // 動画IDを使用してサムネイル画像を取得・配置 iframe.before('').remove(); // 動画クリックした時の処理 $(this).on('click', function() { // 矢印をフェードで非表示 $(this).siblings('.arrow').fadeOut(400); // 動画IDからを埋め込み用タグを生成 $(this).after('
').remove(); }); }); .parent { display: flex; justify-content: center; } .child { color: #fff; border: solid 1px #fff; text-align: center; line-height: 100px; width: 100px; height: 100px; background-color: blue; }