ハイライトで画像がでてくる!

| | トラックバック(1)
Clip to Evernote ハイライトで画像がでてくる!

ハイライトさせた箇所から絵が出てくるハズ。面白いですねぇ。CSSを使ったテクニックとのことです。

テキストをハイライトすると絵が出てくる! - sta la sta

すごすぎた.だから,作ってみた.元画像は以下.

704336_35331199.jpg

コードは以下.英文テキストはMartin Luther King, Jr.のI Have a Dreamを利用しました.firefox等(IE, Operaはダメ)でご確認下さい.

Let us not wallow in the valley of despair, I say to you today, my friends. And
so even though we face the difficulties of today and tomorrow, I still have a d
ream. It is a dream deeply rooted in the American dream. I have a dream that on
e day this nation will rise up and live out the true meaning of its creed: "We h
old these truths to be self-evident, that all men are created equal." I have a
dream that one day on the red hills of Georgia, the sons of former slaves and th
e sons of former slave owners will be able to sit down together at the table of
brotherhood. I have a dream that one day even the state of Mississippi, a state
sweltering with the heat of injustice, sweltering with the heat of oppression,
will be transformed into an oasis of freedom and justice. I have a dream that m
y four little children will one day live in a nation where they will not be judg
ed by the color of their skin but by the content of their character. I have a d
ream today! I have a dream that one day, down in Alabama, with its vicious raci
sts, with its governor having his lips dripping with the words of "interposition
" and "nullification" -- one day right there in Alabama little black boys and bl
ack girls will be able to join hands with little white boys and white girls as s
isters and brothers. I have a dream today! I have a dream that one day every v
alley shall be exalted, and every hill and mountain shall be made low, the rough
places will be made plain, and the crooked places will be made straight; "and t
he glory of the Lord shall be revealed and all flesh shall see it together."Let
us not wallow in the valley of despair, I say to you today, my friends. And so
even though we face the difficulties of today and tomorrow, I still have a dream
. It is a dream deeply rooted in the American dream. I have a dream that one da
y this nation will rise up and live out the true meaning of its creed: "We hold
these truths to be self-evident, that all men are created equal." I have a drea
m that one day on the red hills of Georgia, the sons of former slaves and the so
ns of former slave owners will be able to sit down together at the table of brot
herhood. I have a dream that one day even the state of Mississippi, a state swe
ltering with the heat of injustice, sweltering with the heat of oppression, will
be transformed into an oasis of freedom and justice. I have a dream that my fo
ur little children will one day live in a nation where they will not be judged b
y the color of their skin but by the content of their character. I have a dream
today! I have a dream that one day, down in Alabama, with its vicious racists,
with its governor having his lips dripping with the words of "interposition" an
d "nullification" -- one day right there in Alabama little black boys and black
girls will be able to join hands with little white boys and white girls as siste
rs and brothers. I have a dream today! I have a dream that one day every valle
y shall be exalted, and every hill and mountain shall be made low, the rough pla
ces will be made plain, and the crooked places will be made straight; "and the g
lory of the Lord shall be revealed and all flesh shall see it together."Let us n

参考:
Text + Image + CSS3 = Crazy Delicious
テキストをハイライトすると絵が出てくる! - sta la sta

トラックバック(1)

このエントリーのトラックバックURL: http://4403.biz/mt/mt-tb.cgi/82

あとさらに大きいタスクが一つ…orz締め切りも一ヶ月ないしorz今日は色々疲れま... 続きを読む

プロフィール

e-m@il @ddress