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/what-is-knowledge-representation" 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/artificial-intelligence/38/what-is-knowledge-representation.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Co to jest reprezentacja wiedzy?" 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/what-is-knowledge-representation">Co to jest reprezentacja wiedzy? </a>
                              </h4>
                         </div> <div class="group">
                              <a href="/pl/how-plot-graph-python" 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/python-tutorial/47/how-plot-graph-python.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Jak narysować wykres w Pythonie" 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/how-plot-graph-python">Jak narysować wykres w Pythonie </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/java-io-pipedoutputstream-class-in-java">
						 <img src="https://techcodeview.com/img/misc/33/java-io-pipedoutputstream-class-in-java.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Klasa Java.io.PipedOutputStream w Javie" 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-io-pipedoutputstream-class-in-java" class="hover:text-tech-500 transition-colors line-clamp-3">Klasa Java.io.PipedOutputStream w Javie </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/make-your-own-dog-shampoo-at-home-life-hacks-for-dogs">
						 <img src="https://techcodeview.com/img/trending/72/make-your-own-dog-shampoo-at-home-life-hacks-for-dogs.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Zrób własny szampon dla psów w domu: życiowe triki dla psów" 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/make-your-own-dog-shampoo-at-home-life-hacks-for-dogs" class="hover:text-tech-500 transition-colors line-clamp-3">Zrób własny szampon dla psów w domu: życiowe triki dla psów </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/sql-merge-statement">
						 <img src="https://techcodeview.com/img/sql-clauses-operators/95/sql-merge-statement.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Instrukcja SQL MERGE" 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/sql-merge-statement" class="hover:text-tech-500 transition-colors line-clamp-3">Instrukcja SQL MERGE </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/sequence-diagrams-unified-modeling-language">
						 <img src="https://techcodeview.com/img/uml/12/sequence-diagrams-unified-modeling-language.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Diagramy sekwencji | Ujednolicony język modelowania (UML)" 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/sequence-diagrams-unified-modeling-language" class="hover:text-tech-500 transition-colors line-clamp-3">Diagramy sekwencji | Ujednolicony język modelowania (UML) </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-track-iphone-from-an-android-phone">
						 <img src="https://techcodeview.com/img/android-tutorial/24/how-track-iphone-from-an-android-phone.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Jak śledzić iPhone'a z telefonu z Androidem" 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-track-iphone-from-an-android-phone" class="hover:text-tech-500 transition-colors line-clamp-3">Jak śledzić iPhone'a z telefonu z Androidem </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/javascript-multi-line-string">
						 <img src="https://techcodeview.com/img/javascript-tutorial/22/javascript-multi-line-string.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Ciąg wieloliniowy JavaScript" 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/javascript-multi-line-string" class="hover:text-tech-500 transition-colors line-clamp-3">Ciąg wieloliniowy JavaScript </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-exactly-is-target-school-1311492">
						 <img src="https://techcodeview.com/img/blog/24/what-exactly-is-target-school.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Czym właściwie jest szkoła docelowa? Jak znaleźć swoje" 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-exactly-is-target-school-1311492" class="hover:text-tech-500 transition-colors line-clamp-3">Czym właściwie jest szkoła docelowa? Jak znaleźć swoje </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/implementing-linked-list-java-using-class">
						 <img src="https://techcodeview.com/img/java-class-object/62/implementing-linked-list-java-using-class.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Implementowanie listy połączonej w Javie przy użyciu klasy" 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/implementing-linked-list-java-using-class" class="hover:text-tech-500 transition-colors line-clamp-3">Implementowanie listy połączonej w Javie przy użyciu klasy </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/memory-management-java">
						 <img src="https://techcodeview.com/img/java-misc/33/memory-management-java.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Zarządzanie pamięcią w Javie" 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/memory-management-java" class="hover:text-tech-500 transition-colors line-clamp-3">Zarządzanie pamięcią w Javie </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/sql-query-insert-multiple-rows">
						 <img src="https://techcodeview.com/img/picked/36/sql-query-insert-multiple-rows.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Zapytanie SQL wstawiające wiele wierszy" 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/sql-query-insert-multiple-rows" class="hover:text-tech-500 transition-colors line-clamp-3">Zapytanie SQL wstawiające wiele wierszy </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/mysql-tutorial/17/mysql-change-column-type.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="MySQL Zmień typ kolumny" 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/mysql-tutorial/">Samouczek Mysql-A </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/pl/mysql-change-column-type">MySQL Zmień typ kolumny </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/dsa/81/minimum-steps-to-reach-target-by-a-knight-set-2.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Minimalne kroki do osiągnięcia celu przez Rycerza | Zestaw 2" 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/dsa/">DSA </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/pl/minimum-steps-to-reach-target-by-a-knight-set-2">Minimalne kroki do osiągnięcia celu przez Rycerza | Zestaw 2 </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/gimp-tutorial/38/gimp-draw-rectangle.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="GIMP Narysuj prostokąt" 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/gimp-tutorial/">Samouczek Gimp-A </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/pl/gimp-draw-rectangle">GIMP Narysuj prostokąt </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-tutorial/53/html-heading.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Nagłówek HTML" 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-tutorial/">Samouczek Html </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/pl/html-heading">Nagłówek HTML </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/ms-excel-tutorial/93/ribbon-tabs-excel.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Wstążka i karty w programie Excel" 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/ms-excel-tutorial/">Poradnik Ms Excel </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/pl/ribbon-tabs-excel">Wstążka i karty w programie Excel </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/blog/82/8-fundamental-taurus-traits.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Wyjaśnienie 8 podstawowych cech byka" 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/blog/">Bloga </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/pl/8-fundamental-taurus-traits-131172">Wyjaśnienie 8 podstawowych cech byka </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/sr/">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>