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/python-raise-keyword" 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/picked/07/python-raise-keyword.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Python Podnieś słowo kluczowe" 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/python-raise-keyword">Python Podnieś słowo kluczowe </a>
                              </h4>
                         </div> <div class="group">
                              <a href="/pl/probability-of-knight-to-remain-in-the-chessboard" 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/dsa/87/probability-of-knight-to-remain-in-the-chessboard.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Prawdopodobieństwo, że skoczek pozostanie na szachownicy" 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/probability-of-knight-to-remain-in-the-chessboard">Prawdopodobieństwo, że skoczek pozostanie na szachownicy </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/minimum-steps-to-reach-target-by-a-knight-set-2">
						 <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">
					 </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/minimum-steps-to-reach-target-by-a-knight-set-2" class="hover:text-tech-500 transition-colors line-clamp-3">Minimalne kroki do osiągnięcia celu przez Rycerza | Zestaw 2 </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/easy-explanation-all-factors-45-131288">
						 <img src="https://techcodeview.com/img/blog/27/easy-explanation-all-factors-45.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="ŁATWE wyjaśnienie: wszystkie współczynniki 45" 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/easy-explanation-all-factors-45-131288" class="hover:text-tech-500 transition-colors line-clamp-3">ŁATWE wyjaśnienie: wszystkie współczynniki 45 </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/whats-better-you-131540">
						 <img src="https://techcodeview.com/img/blog/55/whats-better-you.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Co jest dla Ciebie lepsze: IB czy AP? Przewodnik eksperta uczelni" 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/whats-better-you-131540" class="hover:text-tech-500 transition-colors line-clamp-3">Co jest dla Ciebie lepsze: IB czy AP? Przewodnik eksperta uczelni </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/matplotlib-pyplot-plot-function-python">
						 <img src="https://techcodeview.com/img/matplotlib-pyplot-class/46/matplotlib-pyplot-plot-function-python.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Funkcja Matplotlib.pyplot.plot() 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/matplotlib-pyplot-plot-function-python" class="hover:text-tech-500 transition-colors line-clamp-3">Funkcja Matplotlib.pyplot.plot() 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/restart-mysql-ubuntu">
						 <img src="https://techcodeview.com/img/linux-tutorial/57/restart-mysql-ubuntu.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Uruchom ponownie MySQL Ubuntu" 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/restart-mysql-ubuntu" class="hover:text-tech-500 transition-colors line-clamp-3">Uruchom ponownie MySQL Ubuntu </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-script-tag">
						 <img src="https://techcodeview.com/img/html-tutorial/76/html-script-tag.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Znacznik skryptu 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-script-tag" class="hover:text-tech-500 transition-colors line-clamp-3">Znacznik skryptu 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/luhn-algorithm">
						 <img src="https://techcodeview.com/img/cryptography/51/luhn-algorithm.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Algorytm Luhna" 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/luhn-algorithm" class="hover:text-tech-500 transition-colors line-clamp-3">Algorytm Luhna </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/advantages-disadvantages-google">
						 <img src="https://techcodeview.com/img/blog/26/advantages-disadvantages-google.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Zalety i wady Google" 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/advantages-disadvantages-google" class="hover:text-tech-500 transition-colors line-clamp-3">Zalety i wady Google </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/advantages-disadvantages-space-exploration">
						 <img src="https://techcodeview.com/img/blog/32/advantages-disadvantages-space-exploration.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Zalety i wady eksploracji kosmosu" 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/advantages-disadvantages-space-exploration" class="hover:text-tech-500 transition-colors line-clamp-3">Zalety i wady eksploracji kosmosu </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/hybridization-no2">
						 <img src="https://techcodeview.com/img/chemistry-class-11/55/hybridization-no2.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Hybrydyzacja NO2" 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/hybridization-no2" class="hover:text-tech-500 transition-colors line-clamp-3">Hybrydyzacja NO2 </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/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/python-tutorial/63/python-program-generate-random-string.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Program w Pythonie do generowania losowego ciągu" 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/python-tutorial/">Samouczek Pythona </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/pl/python-program-generate-random-string">Program w Pythonie do generowania losowego ciągu </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/operating-system/56/paging-os.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Stronicowanie w systemie operacyjnym (system operacyjny)" 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/operating-system/">System Operacyjny </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/pl/paging-os">Stronicowanie w systemie operacyjnym (system operacyjny) </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/90/163-act-vocab-words-you-must-know.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="163 słówka ACT, które musisz znać" 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/163-act-vocab-words-you-must-know-1311452">163 słówka ACT, które musisz znać </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/mysql-tutorial/30/mysql-enum.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="WYLICZENIE MySQL-a" 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-enum">WYLICZENIE MySQL-a </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/best/43/best-hentai-anime.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Najlepsze anime Hentai" 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/best/">To, Co Najlepsze </a> </div>
						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/pl/best-hentai-anime">Najlepsze anime Hentai </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/tr/">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>