差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
html_css:embed_twitter_tweets_responsive [2022/02/14 02:59] – ともやん | html_css:embed_twitter_tweets_responsive [2024/01/05 14:14] (現在) – [Twitter の埋め込み方法] ともやん | ||
---|---|---|---|
行 11: | 行 11: | ||
</ | </ | ||
<script async src="// | <script async src="// | ||
+ | </ | ||
+ | |||
+ | ===== Twitter の埋め込み方法 ===== | ||
+ | DokuWiki では Wrap プラグインを利用して以下のように書くことができる🤔\\ | ||
+ | <WRAP color_term> | ||
+ | <WRAP color_mincode>< | ||
+ | < | ||
+ | <script async src=" | ||
+ | < | ||
+ | div.wrap_twitter-tweet-scroll { | ||
+ | width: 600px !important; / | ||
+ | height: 500px !important; | ||
+ | } | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <WRAP twitter-tweet-scroll>< | ||
+ | < | ||
+ | <p lang=" | ||
+ | YouTubeのレスポンシブは簡単でしたけど、Twitterのレスポンシブも上手く処理できるかなぁ🤔 | ||
+ | <a href=" | ||
+ | <a href=" | ||
+ | </ | ||
+ | <a href=" | ||
+ | February 10, 2022 | ||
+ | </a> | ||
+ | </ | ||
+ | <script async src=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | <script async src=" | ||
+ | < | ||
+ | div.wrap_twitter-tweet-scroll { | ||
+ | width: 600px !important; / | ||
+ | height: 500px !important; | ||
+ | } | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <WRAP twitter-tweet-scroll>< | ||
+ | < | ||
+ | <p lang=" | ||
+ | YouTubeのレスポンシブは簡単でしたけど、Twitterのレスポンシブも上手く処理できるかなぁ🤔 | ||
+ | <a href=" | ||
+ | <a href=" | ||
+ | </ | ||
+ | <a href=" | ||
+ | February 10, 2022 | ||
+ | </a> | ||
+ | </ | ||
+ | <script async src=" | ||
</ | </ | ||