Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
第五回ネットワークチーム講座
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
北海道科学大学 電子計算機研究部
May 30, 2016
Education
85
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
第五回ネットワークチーム講座
北海道科学大学 電子計算機研究部
May 30, 2016
More Decks by 北海道科学大学 電子計算機研究部
See All by 北海道科学大学 電子計算機研究部
第12回Network講座2019
densan
1
69
第11回Network講座2019
densan
0
86
第10回Network講座2019
densan
0
64
第09回Network講座2019
densan
1
180
第08回Network講座2019
densan
0
59
第07回Network講座2019
densan
0
61
第06回Network講座2019
densan
0
84
第05回Network講座2019
densan
0
61
第04回Network講座2019
densan
0
130
Other Decks in Education
See All in Education
[2026後期火5] 論理学(京都大学文学部 後期 第1回)「名前はあるのに、誰なのかわからない」
yatabe
0
150
Modulo : abc
robintux
0
240
Merger Process
bvr7352
0
170
人間関係に取り組む、その時に / step away to make space
spring_aki
0
140
批判的応用言語学ワークショップ(2026-08-12 お茶の⽔⼥⼦⼤学)
terasawat
0
210
Antigravityを使ってGeminiAPI(NanobananaPro)と連携して挿絵メーカーを作った
yoshimura_datam
0
260
子どものためのプログラミング道場『CoderDojo』〜法人提携例〜 / Partnership with CoderDojo Japan
coderdojojapan
PRO
4
19k
AIがコードを書く時代に、何を教えるのか / What Should We Teach in the Age of AI-Generated Code?
ichiroc
1
610
Tema 1. El relieve de España: Formación y características
juanmartin2026
0
39k
An Experiment in "Cross-Cultural Exchange" as a Method for Content Creation
naoji_taniguchi_ksk_0827
0
270
1人 × AI、1か月でここまで作れる ー 数年前の外注換算3.8〜7.4億円・241〜379人月分の作業を、AI費用 約10万円・31日で
frievea
0
580
Web Architectures - Lecture 2 - Web Technologies (1019888BNR)
signer
PRO
0
3.7k
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Tell your own story through comics
letsgokoyo
1
1.1k
Amusing Abliteration
ianozsvald
1
350
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
It's Worth the Effort
3n
188
29k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
440
Are puppies a ranking factor?
jonoalderson
2
4.1k
Building Applications with DynamoDB
mza
96
7.2k
4 Signs Your Business is Dying
shpigford
187
23k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Transcript
第五回ネットワーク チーム講座資料 CSSのプロパティ2
概要 • 背景関連プロパティ • 中央寄せのやり方
背景に関するプロパティ • background-color … 背景色の指定 • background-image … 背景画像の指定 •
background-position … 背景画像の表示開始位置の指定 • background-repeat … 背景画像のリピートの仕方を指定する • background-attachment … 背景画像の固定を行う • background-size … 背景画像のサイズの指定する
background-color 要素の背景色を指定する。色の指定方法は前回紹介した通り。 background-color: #ff0000; background-color: #f00; background-color: rgb(255,0,0); background-color: rgba(100%,0%,0%,40%);
background-image 要素の背景画像を設定する。 background-image: url(画像のパス); と指定する。 background-image: url(“../img/sample.png”);
background-position 背景画像の表示位置を指定する。 background-position: 水平方向の位置 垂直方向の位置; と指定する background-position: center top;
background-position • 水平方向の位置の指定 1. left 2. center 3. right 4.
数値(px)で指定 5. %で指定 • 垂直方向の位置の指定 1. top 2. center 3. bottom 4. 数値(px)で指定 5. %で指定
background-position 横400×縦300
background-position background-positon: left top;
background-position background-positon: center bottom;
background-position background-positon: 100px 200px; 200px 100px
background-repeat • 指定方法 1. repeat ・・・ 敷き詰める(初期値) 2. repeat-x ・・・
水平方向に並べる 3. repeat-y ・・・ 垂直方向に並べる 4. no-repeat ・・・ 一つだけ表示
background-repeat background-repeat: repeat; (指定なしと同様)
background-repeat background-repeat: repeat-x;
background-repeat background-repeat: repeat-y;
background-repeat background-repeat: no-repeat;
background-attachment • 指定方法 1. scroll ・・・ 要素に対して固定される(初期値) 2. fixed ・・・
画面に対して固定される 3. local ・・・ 要素の内容に対して固定される ※後の演習で詳しく説明します。
background-size 背景画像のサイズを指定する。 background-size: 幅 高さ; で指定、あるいは ~ contain;等属性値で指定する。 • auto:
初期値。元画像からのアスペクト比を変えずに表示 • contain: 背景領域に収まる最大サイズで表示する • cover: 背景領域を完全に覆うサイズで表示する • 数値で指定 • %で指定
background-size
演習 • 適当な縦長の画像ファイルを用意 ( 壁紙位の大きさのもの 横長の画像もあると良い) • それを作業用フォルダ内のimgフォルダに入れて、わかりやすい ファイル名に変更 •
次のページの通りにhtmlファイルを作成 (ファイル名はattachment.htmlなどに)
演習
演習 • 可能な限りEmmetを活用して作成すること (わからなければ過去の資料を見たり、先輩に聞いたりしてください) • その後、次のページの通りにCSSを作成 (ファイル名はattachment.cssなどに)
None
おしまい 次回は続けてCSSのプロパティです