Selektory CSS

Selektory CSS

Selektory CSS stanowią podstawę każdej stylowej strony internetowej. Celują w elementy HTML na Twoich stronach, umożliwiając dodawanie stylów na podstawie ich identyfikatora, klasy, typu, atrybutu i innych. W tym przewodniku omówimy zawiłości selektorów CSS i ich kluczową rolę w poprawianiu estetyki i komfortu użytkowania stron internetowych.

Rodzaje selektorów CSS

Selektory CSS są dostępne w różnych typach, a każdy z nich ma swój unikalny sposób wybierania elementów HTML. Przeanalizujmy je:

Selektory CSS Opis

Proste selektory

Służy do wybierania elementów HTML na podstawie ich nazwy, identyfikatora, atrybutów itp

Uniwersalny selektor Zaznacza wszystkie elementy na stronie.
Selektor atrybutów Wybiera elementy na podstawie ich wartości atrybutów.
Selektor pseudoklasy Wybiera elementy na podstawie ich stanu lub położenia, np :hover> dla efektów najechania.
Selektory kombinatorów Połącz selektory, aby określić relacje między elementami, takimi jak elementy potomne ( > ) lub dziecko ( >> ).
Selektor pseudoelementów Wybiera określone części elementu, np ::before> Lub ::after> .

Spis treści

Proste selektory

Selektory proste zawierają poniższe klasy.

Prosty selektor Opis
Selektor elementów Wybiera elementy HTML na podstawie ich nazw znaczników.
Selektor identyfikatora Kieruje na element HTML z określonym atrybutem id.
Selektor klas Wybiera elementy z określonym atrybutem klasy.

Przykład: W tym przykładzie napiszemy kod, aby lepiej zrozumieć selektory i ich zastosowanie.

HTML
      Selektory CSStytuł> <link rel='stylesheet' href='style.css' />głowa> <body>  <h1>Przykładowy nagłówekh1> <p>To jest zawartość pierwszego akapitup> <div id='div-container'>To jest element div o identyfikatorze div-container div> <p>To jest akapit z klasą akapit-klasa p>treść>html> </pre>  </code>  <p dir='ltr'>  <b>  <strong>Notatka: </strong>  </b>  <span>Zastosujemy reguły CSS do powyższego przykładu. </span> </p>  <h2 id='element-selector'>  <b>  <strong>Selektor elementów </strong>  </b>  </h2> <p dir='ltr'> <span>The </span>  <span>selektor elementów </span>  <span>wybiera elementy HTML na podstawie nazwy elementu (lub znacznika), na przykład p, h1, div, span itp. </span> </p>  <p dir='ltr'>  <b>  <strong>NOTATKA : </strong>  </b>  <span>Poniższy kod został użyty w powyższym przykładzie. Możesz zobaczyć reguły CSS zastosowane do wszystkich </span>  <span> </span> </p> <p>  <span>tagi i </span> </p> <h1>tagi. <p> </p>  </h1> <h3>  <b>  <strong>CSS: </strong>  </b>  </h3> <pre>h1 {  color: red;  font-size: 3rem; } p {  color: white;  background-color: gray; } </pre> <p dir='ltr'>  <b>  <strong>Wyjście: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors.webp' alt='CSS-Element-Selektory-Przykładowe wyjście'> <p>Dane wyjściowe selektora elementów CSS </p>  <h2 id='id-selector'>  <b>  <strong>Selektor identyfikatora </strong>  </b>  </h2> <p dir='ltr'> <span>The </span>   <b>  <strong>selektor identyfikatora </strong>  </b>   <span>używa </span>   <i>  <em>atrybut identyfikatora </em>  </i>   <span>elementu HTML, aby wybrać konkretny element. </span>  <b>  <strong>  </strong>  </b>  <span>Jakiś </span>  <b>  <strong>ID </strong>  </b>  <span>elementu jest unikalny na stronie i można go użyć </span>  <b>  <strong>dowód osobisty </strong>  </b>  <span>selektor. </span> </p>  <p dir='ltr'>  <b>  <strong>Notatka: </strong>  </b>  <span>Poniższy kod został użyty w powyższym przykładzie przy użyciu selektora id. </span> </p>  <h3>  <b>  <strong>CSS: </strong>  </b>  </h3> <pre>#div-container{  color: blue;  background-color: gray; } </pre> <p dir='ltr'>  <b>  <strong>Wyjście: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors-2.webp' alt='Przykładowe wyjście selektorów CSS-Id'> <p>Przykładowe dane wyjściowe selektorów identyfikatorów CSS </p>  <h2 id='class-selector'>  <b>  <strong>Selektor klas </strong>  </b>  </h2> <p dir='ltr'> <span>The </span>   <b>  <strong>selektor klasy </strong>  </b>   <span>wybiera elementy HTML z określonym atrybutem klasy. </span> </p>  <p dir='ltr'>  <b>  <strong>Notatka: </strong>  </b>  <span>Poniższy kod został użyty w powyższym przykładzie przy użyciu selektora klasy. Aby użyć selektora klasy, musisz użyć znaku ( . ), po którym następuje nazwa klasy w CSS. Reguła ta zostanie zastosowana do elementu HTML z atrybutem class </span>  <i>  <em>klasa-akapitu </em>  </i>  <span> </span> </p>  <h3>  <b>  <strong>CSS: </strong>  </b>  </h3> <pre>.paragraph-class {  color:white;  font-family: monospace;  background-color: purple; } </pre> <p dir='ltr'>  <b>  <strong>Wyjście: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors-3.webp' alt='Przykładowe dane wyjściowe — selektory klas CSS'> <p>Przykładowe dane wyjściowe selektora klas CSS </p>  <h2 id='universal-selector'>  <b>  <strong>Uniwersalny selektor </strong>  </b>  </h2> <p dir='ltr'> <span>The </span>  <span>Uniwersalny selektor </span>  <span>(*) w CSS służy do zaznaczania wszystkich elementów w dokumencie HTML. Obejmuje również inne elementy, które znajdują się wewnątrz pod innym elementem. </span> </p>  <p dir='ltr'>  <b>  <strong>Notatka: </strong>  </b>  <span>Poniższy kod został użyty w powyższym przykładzie przy użyciu selektora uniwersalnego. Ta reguła CSS zostanie zastosowana do każdego elementu HTML na stronie: </span> </p>  <h3>  <b>  <strong>CSS: </strong>  </b>  </h3> <pre>* {  color: white;  background-color: black; } </pre> <p dir='ltr'>  <b>  <strong>Wyjście: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors-4.webp' alt='CSS-Universal-Selecter-Example-Output'> <p>Przykładowe wyjście selektora uniwersalnego CSS </p>  <h2 id='group-selector'>  <b>  <strong>Selektor grupy </strong>  </b>  </h2> <p dir='ltr'> <span>The </span>  <b>  <strong>Selektor grupy </strong>  </b>  <span>służy do nadania tego samego stylu wszystkim elementom oddzielonym przecinkami. </span> </p>  <p dir='ltr'>  <b>  <strong>Notatka: </strong>  </b>  <span>Załóżmy, że chcesz zastosować wspólne style do różnych selektorów, zamiast pisać reguły osobno, możesz napisać je w grupach, jak pokazano poniżej. </span> </p>  <h3>  <b>  <strong>CSS: </strong>  </b>  </h3> <pre>#div-container, .paragraph-class, h1{  color: white;  background-color: purple;  font-family: monospace;  } </pre> <p dir='ltr'>  <b>  <strong>Wyjście: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors-5.webp' alt='Przykładowe wyjście CSS-Selektor-Grupy'> <p>Przykładowe dane wyjściowe selektora grupy CSS </p>  <h2 id='attribute-selector'>  <b>  <strong>Selektor atrybutów </strong>  </b>  </h2> <p dir='ltr'> <span>The </span>   <b>  <strong>selektor atrybutów </strong>  </b>   <span>[atrybut] służy do wybierania elementów o określonym atrybucie lub wartości atrybutu. </span> </p>  <p dir='ltr'>  <b>  <strong>Notatka: </strong>  </b>  <span>Poniższy kod został użyty w powyższym przykładzie przy użyciu selektora atrybutów. Ta reguła CSS zostanie zastosowana do każdego elementu HTML na stronie: </span> </p>  <h3>  <b>  <strong>CSS: </strong>  </b>  </h3> <pre>[href] {  background-color: lightgreen;  color: black;  font-family: monospace;  font-size: 1rem; } </pre> <p dir='ltr'>  <b>  <strong>Wyjście: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors-6.webp' alt='CSS-Atrybut-Wybierz-Przykład-Wyjście'> <p>Przykładowe wyjście atrybutu CSS Selectros </p>  <h2 id='pseudoclass-selector'>  <b>  <strong>Selektor pseudoklasy </strong>  </b>  </h2> <p dir='ltr'> <span>Służy do stylizowania specjalnego typu stanu dowolnego elementu. Na przykład — służy do stylizowania elementu po najechaniu na niego kursorem myszy. </span> </p>  <p dir='ltr'>  <b>  <strong>Notatka: </strong>  </b>  <span>W przypadku a. używamy pojedynczego dwukropka(:) </span>  <span>Selektor pseudoklasy </span>  <span>. </span> </p>  <p dir='ltr'>  <b>  <strong>Składnia: </strong>  </b>  </p>  <pre>Selector:Pseudo-Class {  Property: Value; } </pre> <h3>  <b>  <strong>CSS: </strong>  </b>  </h3> <pre>h1:hover{  background-color: aqua; } </pre> <p dir='ltr'>  <b>  <strong>Wyjście: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors.webp' alt='CSS-Pseudo-selektor-przykładowe wyjście'> <p>Przykładowe dane wyjściowe selektora CSS </p>  <h2 id='pseudoelement-selector'>  <b>  <strong>Selektor pseudoelementów </strong>  </b>  </h2> <p dir='ltr'> <span>Służy do stylizacji dowolnej określonej części elementu. Na przykład - służy do stylizacji pierwszej litery lub pierwszej linii dowolnego elementu. </span> </p>  <p dir='ltr'>  <b>  <strong>Notatka: </strong>  </b>  <span>W przypadku a. używamy podwójnego dwukropka(::) </span>  <span>Selektor pseudoelementów </span>  <span>. </span> </p>  <p dir='ltr'>  <b>  <strong>Składnia: </strong>  </b>  </p>  <pre>Selector:Pseudo-Element{  Property:Value;  } </pre> <h3>  <b>  <strong>CSS: </strong>  </b>  </h3> <pre>p::first-line{  background-color: goldenrod; } </pre> <p dir='ltr'>  <b>  <strong>Wyjście: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors-7.webp' alt='CSS-Pseudo-Element-Selektor-Przykład-Wyjście'> <p>Przykładowe dane wyjściowe selektora pseudoelementów CSS </p>  <p dir='ltr'>  <br> </p>  <br>  <br>
                     </div>

                     <!-- Article Footer with Prominent Share Buttons -->
                     <div class="px-6 md:px-8 py-8 bg-slate-50 dark:bg-slate-900/50 border-t border-slate-200 dark:border-slate-700/50">
                          <div class="flex flex-col sm:flex-row items-center justify-between gap-6">
                              <h4 class="text-base font-bold text-slate-700 dark:text-slate-300 uppercase tracking-wide flex items-center gap-2">
                                 <i class="fa fa-share-alt text-tech-500"> </i>
                                Udział                              </h4>
                             
                              <div class="flex flex-wrap justify-center gap-3">
                                 <!-- Twitter -->
                                 <a href="https://twitter.com/intent/tweet?text=Selektory CSS&url=https://www.techcodeview.com/pl/css-selectors" 
                                   target="_blank" rel="noopener noreferrer" 
                                   class="flex items-center gap-2 px-6 py-3 rounded-xl bg-[#1DA1F2]/10 text-[#1DA1F2] hover:bg-[#1DA1F2] hover:text-white transition-all duration-300 font-bold text-sm">
                                     <i class="fa fa-twitter text-lg"> </i>
                                     <span class="hidden sm:inline">Twitter </span>
                                 </a>

                                 <!-- Facebook -->
                                 <a href="https://www.facebook.com/sharer/sharer.php?u=https://www.techcodeview.com/pl/css-selectors" 
                                   target="_blank" rel="noopener noreferrer"
                                   class="flex items-center gap-2 px-6 py-3 rounded-xl bg-[#4267B2]/10 text-[#4267B2] hover:bg-[#4267B2] hover:text-white transition-all duration-300 font-bold text-sm">
                                     <i class="fa fa-facebook text-lg"> </i>
                                     <span class="hidden sm:inline">Facebook </span>
                                 </a>
                                
                                 <!-- LinkedIn -->
                                 <a href="https://www.linkedin.com/shareArticle?mini=true&url=https://www.techcodeview.com/pl/css-selectors&title=Selektory CSS" 
                                   target="_blank" rel="noopener noreferrer"
                                   class="flex items-center gap-2 px-6 py-3 rounded-xl bg-[#0077b5]/10 text-[#0077b5] hover:bg-[#0077b5] hover:text-white transition-all duration-300 font-bold text-sm">
                                     <i class="fa fa-linkedin text-lg"> </i>
                                     <span class="hidden sm:inline">LinkedIn </span>
                                 </a>
                              </div>
                          </div>
                     </div>
                </article>

                <!-- Comments Placeholder / Random Articles -->
                <div class="mt-8 bg-white dark:bg-slate-800 border border-slate-200 dark:border-slate-700 rounded-xl p-6 md:p-8 shadow-sm">
                     <h3 class="text-xl font-bold text-slate-900 dark:text-white mb-6 uppercase tracking-wide border-b border-slate-200 dark:border-slate-700 pb-2">
                        Może Ci Się Spodobać                     </h3>
                     <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                         <div class="group">
                              <a href="/pl/stringtokenizer-java" class="block aspect-video rounded-lg overflow-hidden bg-slate-200 dark:bg-slate-700 mb-3">
                                 <img loading="lazy" src="https://techcodeview.com/img/java-string/52/stringtokenizer-java.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="StringTokenizer w Javie" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                              </a>
                              <h4 class="font-bold text-slate-900 dark:text-white leading-tight group-hover:text-tech-500 transition-colors">
                                 <a href="/pl/stringtokenizer-java">StringTokenizer w Javie </a>
                              </h4>
                         </div> <div class="group">
                              <a href="/pl/whats-highest-new-sat-score-possible-131398" class="block aspect-video rounded-lg overflow-hidden bg-slate-200 dark:bg-slate-700 mb-3">
                                 <img loading="lazy" src="https://techcodeview.com/img/blog/59/whats-highest-new-sat-score-possible.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Jaki jest najwyższy możliwy nowy wynik SAT?" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                              </a>
                              <h4 class="font-bold text-slate-900 dark:text-white leading-tight group-hover:text-tech-500 transition-colors">
                                 <a href="/pl/whats-highest-new-sat-score-possible-131398">Jaki jest najwyższy możliwy nowy wynik SAT? </a>
                              </h4>
                         </div>
                     </div>
                </div>
             </div>

             <!-- SECONDARY COLUMN (SIDEBAR) -->
             <!-- Aside Column -->
 <div class="lg:col-span-4 space-y-8">
	
	 <!-- Best Articles Widget -->
	 <div class="rounded-xl bg-white dark:bg-slate-800 border border-slate-200 dark:border-slate-700 p-6 shadow-sm">
		 <div class="mb-4 border-b border-slate-100 dark:border-slate-700 pb-2">
			 <h2 class="text-lg font-bold text-slate-900 dark:text-white uppercase tracking-wide flex items-center">
                 <span class="mr-2 h-2 w-2 rounded-full bg-tech-500"> </span>
                Najpopularniejsze Artykuły             </h2>
		 </div>
		
		 <!-- Owl Carousel Preserved Container -->
		 <div id="owl-carousel-3" class="owl-carousel owl-theme center-owl-nav">
			 <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/pl/difference-between-database">
						 <img src="https://techcodeview.com/img/mysql-tutorial/07/difference-between-database.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Różnica między bazą danych a schematem" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/pl/difference-between-database" class="hover:text-tech-500 transition-colors line-clamp-3">Różnica między bazą danych a schematem </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/pl/early-action-deadlines-131728">
						 <img src="https://techcodeview.com/img/blog/96/early-action-deadlines.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Terminy wczesnych działań dla każdej uczelni z EA" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/pl/early-action-deadlines-131728" class="hover:text-tech-500 transition-colors line-clamp-3">Terminy wczesnych działań dla każdej uczelni z EA </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/pl/html-calculator">
						 <img src="https://techcodeview.com/img/html-tutorial/37/html-calculator.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Kalkulator HTML" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/pl/html-calculator" class="hover:text-tech-500 transition-colors line-clamp-3">Kalkulator HTML </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/pl/loop">
						 <img src="https://techcodeview.com/img/powershell-tutorial/73/loop.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Dla pętli" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/pl/loop" class="hover:text-tech-500 transition-colors line-clamp-3">Dla pętli </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/pl/command-line-arguments-python">
						 <img src="https://techcodeview.com/img/python-utility/66/command-line-arguments-python.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Argumenty wiersza poleceń w Pythonie" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/pl/command-line-arguments-python" class="hover:text-tech-500 transition-colors line-clamp-3">Argumenty wiersza poleceń w Pythonie </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/pl/how-much-should-you-pay-1311364">
						 <img src="https://techcodeview.com/img/blog/64/how-much-should-you-pay.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Ile należy zapłacić za korepetycje SAT/ACT?" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/pl/how-much-should-you-pay-1311364" class="hover:text-tech-500 transition-colors line-clamp-3">Ile należy zapłacić za korepetycje SAT/ACT? </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/pl/what-is-perfect-square-131354">
						 <img src="https://techcodeview.com/img/blog/25/what-is-perfect-square.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Co to jest idealny kwadrat?" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/pl/what-is-perfect-square-131354" class="hover:text-tech-500 transition-colors line-clamp-3">Co to jest idealny kwadrat? </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/pl/java-string-date">
						 <img src="https://techcodeview.com/img/java-conversion/25/java-string-date.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Ciąg Java do tej pory" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/pl/java-string-date" class="hover:text-tech-500 transition-colors line-clamp-3">Ciąg Java do tej pory </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/pl/how-find-out-my-monitor-size">
						 <img src="https://techcodeview.com/img/computer/61/how-find-out-my-monitor-size.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Jak sprawdzić rozmiar mojego monitora?" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/pl/how-find-out-my-monitor-size" class="hover:text-tech-500 transition-colors line-clamp-3">Jak sprawdzić rozmiar mojego monitora? </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE --> <!-- ARTICLE -->
			 <article class="flex items-start gap-4 p-2 hover:bg-slate-50 dark:hover:bg-slate-700/50 rounded-lg transition-colors">
				 <div class="w-20 h-20 shrink-0 overflow-hidden rounded-md bg-slate-200 dark:bg-slate-700">
					 <a href="/pl/bash-scripting-bash-echo-command">
						 <img src="https://techcodeview.com/img/bash-script/07/bash-scripting-bash-echo-command.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Skrypty Bash – polecenie Bash Echo" class="w-full h-full object-cover">
					 </a>
				 </div>
				 <div class="flex-1 min-w-0">
					 <h4 class="text-sm font-semibold text-slate-800 dark:text-slate-200 leading-snug">
                         <a href="/pl/bash-scripting-bash-echo-command" class="hover:text-tech-500 transition-colors line-clamp-3">Skrypty Bash – polecenie Bash Echo </a>
                     </h4>
				 </div>
			 </article>
			 <!-- /ARTICLE -->
		 </div>
		

         <!-- Categories -->
		 <div class="mt-8 mb-4 border-b border-slate-100 dark:border-slate-700 pb-2">
			 <h2 class="text-lg font-bold text-slate-900 dark:text-white uppercase tracking-wide">Kategoria </h2>
		 </div>
		 <div class="flex flex-wrap gap-2">
             <a href="/pl/blog/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Blog
             </a> <a href="/pl/java-conversion/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Konwersja Javy
             </a> <a href="/pl/maths/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Matematyka
             </a> <a href="/pl/java-collections/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Kolekcje Javy
             </a> <a href="/pl/differences/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Różnice
             </a> <a href="/pl/java-string/" class="inline-block px-3 py-1 bg-slate-100 dark:bg-slate-700 text-xs font-medium text-slate-600 dark:text-slate-300 rounded-full hover:bg-tech-500 hover:text-white transition-colors">
                Ciąg Java
             </a>
         </div>

         <!-- Interesting Articles Widget -->
		 <div class="mt-8">
			 <div class="mb-4 border-b border-slate-100 dark:border-slate-700 pb-2">
				 <h2 class="text-lg font-bold text-slate-900 dark:text-white uppercase tracking-wide">Ciekawe Artykuły </h2>
			 </div>
			
			 <div id="owl-carousel-4" class="owl-carousel owl-theme">
				 <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/physics-class-11/68/newton-s-law-cooling.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Prawo chłodzenia Newtona" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/pl/physics-class-11-cat/">Zajęcia Z Fizyki-11 </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/pl/newton-s-law-cooling">Prawo chłodzenia Newtona </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/html-dom/96/html-dom-getelementbyid-method.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Metoda getElementById() HTML DOM" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/pl/html-dom/">Html-Dom </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/pl/html-dom-getelementbyid-method">Metoda getElementById() HTML DOM </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/software-engineering/87/software-requirement-specifications.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Specyfikacje wymagań oprogramowania" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/pl/software-engineering/">Inżynieria Oprogramowania </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/pl/software-requirement-specifications">Specyfikacje wymagań oprogramowania </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/java-tutorial/74/highest-precedence-java.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Najwyższy priorytet w Javie" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/pl/java-tutorial/">Samouczek Java </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/pl/highest-precedence-java">Najwyższy priorytet w Javie </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/digital-electronics/56/de-multiplexer.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Demultiplekser" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/pl/digital-electronics/">Elektronika Cyfrowa </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/pl/de-multiplexer">Demultiplekser </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE --> <!-- ARTICLE -->
				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
					 <div class="absolute inset-0">
						 <img src="https://techcodeview.com/img/geeks-premier-league-2022/28/how-fix-r-cannot-change-working-directory.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Jak naprawić w R: Nie można zmienić katalogu roboczego" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
                         <div class="absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"> </div>
					 </div>
					 <div class="absolute bottom-0 left-0 p-4">
						 <div class="text-xs text-tech-400 font-bold mb-1"> <a href="/pl/geeks-premier-league-2022-cat/">Geeks-Premier-League-2022 </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/pl/how-fix-r-cannot-change-working-directory">Jak naprawić w R: Nie można zmienić katalogu roboczego </a> </h4>
					 </div>
				 </article>
				 <!-- /ARTICLE -->
			 </div>
		 </div>
	 </div>
 </div>
 <!-- /Aside Column -->         </div>
        </div>
     </div>

 <footer class="site-footer">
         <div class="container">
             <span class="footer-links">
                Copyright ©2026 Wszelkie Prawa Zastrzeżone | 
                 <a href="//www.techcodeview.com/ar/">techcodeview.com </a> | 
                 <a href="/disclaimer" rel="nofollow noopener noreferrer" target="_blank">Zastrzeżenie </a> | 
                 <a href="/about-us" rel="nofollow noopener noreferrer" target="_blank">O Nas </a> | 
                 <a href="/privacy-policy" rel="nofollow noopener noreferrer" target="_blank">Polityka Prywatności </a> 
             </span>
         </div>
     </footer>
 
     <script type="text/javascript" src="https://techcodeview.com/template/assets/plugins/jquery-1.11.3.min.js"> </script>
     <script type="text/javascript" src="https://techcodeview.com/template/assets/plugins/bootstrap/js/bootstrap.min.js"> </script>    
     <script type="text/javascript" src="https://techcodeview.com/template/assets/js/main.js"> </script>     
	 <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.5.1/highlight.min.js"> </script>
	 <script>
    !function(){"use strict";let t=document.createElement("button");t.id="toTopBtn",t.innerHTML="↑";let e=`
        #toTopBtn {
            position: fixed; bottom: 25px; right: 25px; z-index: 9999; opacity: 0; visibility: hidden; background-color: #0ea5e9; color: white; border: none; border-radius: 8px; width: 50px; height: 50px; font-size: 24px; cursor: pointer; transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        }
        #toTopBtn:hover { background-color: #0284c7; }
    `,i=document.createElement("style");i.type="text/css",i.innerText=e,document.head.appendChild(i),document.body.appendChild(t),window.addEventListener("scroll",()=>{let e=window.scrollY||document.documentElement.scrollTop;e>300?(t.style.opacity="1",t.style.visibility="visible"):(t.style.opacity="0",t.style.visibility="hidden")}),t.addEventListener("click",()=>{window.scrollTo({top:0,behavior:"smooth"})})}();
     </script>
 </body>
 </html>