差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
html_css:embed_twitter_tweets_responsive [2022/02/12 17:46] – ↷ html_css:embed_twitter_tweets_on_the_web から html_css:embed_twitter_tweets_responsive へページを名称変更しました。 ともやん | html_css:embed_twitter_tweets_responsive [2024/01/05 14:14] (現在) – [Twitter の埋め込み方法] ともやん | ||
---|---|---|---|
行 2: | 行 2: | ||
[[https:// | [[https:// | ||
{{: | {{: | ||
+ | |||
+ | ===== Twitter Publish が生成する基本的なコード ===== | ||
+ | <WRAP embed_jsfiddle 800px>< | ||
+ | < | ||
+ | .wrap_embed_jsfiddle iframe { | ||
+ | height: 400px; | ||
+ | } | ||
+ | </ | ||
+ | <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=" | ||
+ | </ | ||