You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: data/css.json
+75Lines changed: 75 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,60 @@
39
39
]
40
40
},
41
41
{
42
+
"title": "সিলেক্টর ট্রিক্স",
43
+
"items": [
44
+
{
45
+
"definition": "HTML ইলিমেন্টস গুলোকে CSS এর সাহায্যে সিলেক্ট করার পদ্ধতি কে বলে সিলেক্টর এবং প্রতিটা কোনো ইলিমেন্টসের জন্য লিখিত CSS কে CSS rule বলা হয়",
46
+
"code": "selector{ property: value;}"
47
+
},
48
+
{
49
+
"definition": "টাইপ সিলেক্টর\n কোনো Html tag বা elements দিয়ে সিলেক্ট করাকেই টাইপ সিলেক্টর বলা হয়। এটাকে অনেকে ট্যাগ সিলেক্টর ও বলা হয়ে থাকে",
"definition": "universal Selector \n সকল ইলিমেন্ট সিলেক্ট করতে * ব্যাবহার করা হয়। এটা অনেকে স্টার সিলেক্টর ও বলা হয়ে থাকে।",
62
+
"code": " * {\n color: red;\n}"
63
+
},
64
+
{
65
+
"definition": "Attribute Selector \n কোনো ইলিমেন্ট এর কোনো এট্রিবিউট এর উপর ভিত্তি করে সিলেক্ট করাকে এট্রিবিউট সিলেক্টর বলা হয়। কয়েক ধরনের এট্রিবিউট সিলেক্টর আছে।",
"definition": "এট্রিবিউট ভ্যালু স্পেস সেপারেটেড বা লিস্ট আকারে থাকলে তার উপর ভিত্তি করে সিলেক্ট করা",
74
+
"code": " <p class='important special'>This is an important and special paragraph.</p>\np[class~='special'] {\ncolor: red;\n}"
75
+
},
76
+
{
77
+
"definition": "এট্রিবিউট ভ্যালু আংশিক এর উপর নির্ভর সিলেক্ট করা " ,
78
+
"code": " <div lang='zh'>This is content in Chinese (zh).</div>\n<div lang='zh-HK'>This is content in Chinese (zh-HK).</div>\n<div lang='en-US'>This is content in English (en-US).</div>\np[class।='zh'] {\ncolor: red;\n}\nএখানে শুধু প্রথম ২ টা div সিলেক্ট হবে।"
79
+
},
80
+
{
81
+
"definition": "এট্রিবিউট এর যেকোনো ভ্যালুর জন্য *" ,
82
+
"code": " <p class='important special'>This is an important and special paragraph.</p>\np[class*='sp'] {\ncolor: red;\n}\n এটা এখনো p element কে সিলেক্ট করবে "
83
+
},
84
+
{
85
+
"definition": "এট্রিবিউট ভ্যালুর প্রথম অংশের সাহায্যে সিলেক্ট করা " ,
86
+
"code": " <p class='important special'>This is an important and special paragraph.</p>\np[class^='important'] {\ncolor: red;\n}\n"
87
+
},
88
+
{
89
+
"definition": "এট্রিবিউট ভ্যালুর শেষ অংশের সাহায্যে সিলেক্ট করা " ,
90
+
"code": " <p class='important special'>This is an important and special paragraph.</p>\np[class$='special'] {\ncolor: red;\n}\n"
91
+
},
92
+
{
93
+
"definition": "কেইস ইনসেনসেটিভ করে সিলেক্ট করা" ,
94
+
"code": " <p class='important Special'>This is an important and special paragraph.</p>\np[class$='special ' i] {\ncolor: red;\n}\n"
95
+
}
42
96
"title": "গুগলে CSS প্রপারটিজ কিভাবে সার্চ করবো? (How to Google CSS properties?)",
43
97
"items": [
44
98
{
@@ -157,6 +211,27 @@
157
211
"code": "transform: scale(1, 1);"
158
212
}
159
213
]
214
+
},
215
+
{
216
+
"title": "কম্বিনেটরস ",
217
+
"items": [
218
+
{
219
+
"definition": "body article p{\ncolor:red\n}\n\t এখানে সর্বশেষ অর্থাৎ p ইলিমেন্ট কে সিলেক্ট করা হয়েছে যার parent 'artice' এবং তার parent 'body' ।"
220
+
},
221
+
{
222
+
"definition": "চাইল্ড কম্বিনেটর",
223
+
"code": "ul > li {\nborder-top: 5px solid red;\n}\n} এখানে শুধুমাত্র ul এর চাইল্ড li গুলোকে সিলেক্ট করা হয়েছে।"
224
+
},
225
+
{
226
+
"definition": "ইমিডিয়েট সিব্লিং কম্বিনেটর",
227
+
"code": "h1 + p {\ncolor: red;\n}\nএখানে শুধুমাত্র h1 এর ইমিডিয়েট সিবলিং p কে সিলেক্ট করা হয়েছে।"
228
+
},
229
+
{
230
+
"definition": "পরবর্তী সিব্লিং সিলেক্টর",
231
+
"code": " h1 ~ p {\ncolor: red;\n}\nএখানে h1 এর পরবর্তী সিবলিং p গুলোকে সিলেক্ট করা হয়েছে। এখানে শুধু ইমিডীয়েট সিব্লিং কেই সিলেক্ট করবে না বরং পরবর্তী সিবলিং গুলোকেও সিলেক্ট করবে।"
0 commit comments