Selectoare CSS

Selectoare CSS

Selectoarele CSS sunt coloana vertebrală a oricărei pagini web elegante. Acestea vizează elemente HTML din paginile dvs., permițându-vă să adăugați stiluri pe baza id-ului, clasei, tipului, atributului și multe altele. Acest ghid va aprofunda în complexitatea selectoarelor CSS și în rolul lor esențial în îmbunătățirea esteticii și experienței utilizatorului paginilor dvs. web.

Tipuri de selectoare CSS

Selectoarele CSS sunt disponibile în diferite tipuri, fiecare cu modul său unic de a selecta elementele HTML. Să le explorăm:

Selectoare CSS Descriere

Selectoare simple

Este folosit pentru a selecta elementele HTML pe baza numelui, id-ului, atributelor, etc

Selector universal Selectează toate elementele din pagină.
Selector de atribute Vizează elementele pe baza valorilor atributelor lor.
Selector de pseudo-clasă Selectează elemente în funcție de starea sau poziția lor, cum ar fi :hover> pentru efecte de hover.
Selectoare combinatoare Combinați selectoare pentru a specifica relațiile dintre elemente, cum ar fi descendenții ( > ) sau copil ( >>>> ).
Selector de pseudo-element Selectează anumite părți ale unui element, cum ar fi Tipuri de selectoare CSS
  • Selectoare simple
  • Selector de elemente
  • Selector de id
  • Selector de clasă
  • Selector universal
  • Selector de grup
  • Selector de atribute
  • Selector de pseudo-clasă
  • Selector de pseudo-element
  • Selectoare simple

    Selectorii simpli conțin clasele de mai jos.

    Selector simplu Descriere
    Selector de elemente Selectează elementele HTML pe baza numelor lor de etichetă.
    Selector de id Vizează un element HTML cu un anumit atribut ID.
    Selector de clasă Selectează elemente cu un anumit atribut de clasă.

    Exemplu: În acest exemplu, vom scrie codul pentru a înțelege mai bine selectorii și utilizările lor.

    HTML
          Selector CSS titlu> <link rel='stylesheet' href='style.css' />cap> <body>  <h1>Titlul eșantionh1> <p>Acesta este conținutul din primul paragrafp> <div id='div-container'>Acesta este un div cu id div-container div> <p>Acesta este un paragraf cu clasa paragraf-clasa p> body> html> </pre>  </code>  <p dir='ltr'>  <b>  <strong>Notă: </strong>  </b>  <span>Vom aplica regulile CSS la exemplul de mai sus. </span> </p>  <h2 id='element-selector'>  <b>  <strong>Selector de elemente </strong>  </b>  </h2> <p dir='ltr'> <span>The </span>  <span>selector de elemente </span>  <span>selectează elemente HTML pe baza numelui (sau etichetei) elementului, de exemplu p, h1, div, span etc. </span> </p>  <p dir='ltr'>  <b>  <strong>NOTĂ : </strong>  </b>  <span>Următorul cod este utilizat în exemplul de mai sus. Puteți vedea regulile CSS aplicate tuturor </span>  <span> </span> </p> <p>  <span>etichete și </span> </p> <h1>Etichete. <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>Ieșire: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors.webp' alt='CSS-Selector-Element-Exemplu-ieșire'> <p>Ieșire CSS Element Selector </p>  <h2 id='id-selector'>  <b>  <strong>Selector de id </strong>  </b>  </h2> <p dir='ltr'> <span>The </span>   <b>  <strong>selector de id </strong>  </b>   <span>folosește </span>   <i>  <em>atributul id </em>  </i>   <span>a unui element HTML pentru a selecta un anumit element. </span>  <b>  <strong>  </strong>  </b>  <span>Un </span>  <b>  <strong>id </strong>  </b>  <span>elementul este unic pe o pagină de utilizat </span>  <b>  <strong>id-ul </strong>  </b>  <span>selector. </span> </p>  <p dir='ltr'>  <b>  <strong>Notă: </strong>  </b>  <span>Următorul cod este folosit în exemplul de mai sus folosind selectorul de id. </span> </p>  <h3>  <b>  <strong>CSS: </strong>  </b>  </h3> <pre>#div-container{  color: blue;  background-color: gray; } </pre> <p dir='ltr'>  <b>  <strong>Ieșire: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors-2.webp' alt='CSS-Id-selectori-exemplu-ieșire'> <p>Exemplu de ieșire CSS ID Selectori </p>  <h2 id='class-selector'>  <b>  <strong>Selector de clasă </strong>  </b>  </h2> <p dir='ltr'> <span>The </span>   <b>  <strong>selector de clasă </strong>  </b>   <span>selectează elemente HTML cu un anumit atribut de clasă. </span> </p>  <p dir='ltr'>  <b>  <strong>Notă: </strong>  </b>  <span>Următorul cod este folosit în exemplul de mai sus folosind selectorul de clasă. Pentru a utiliza un selector de clasă, trebuie să utilizați ( . ) urmat de numele clasei în CSS. Această regulă va fi aplicată elementului HTML cu atributul class </span>  <i>  <em>paragraf-clasa </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>Ieșire: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors-3.webp' alt='CSS-Class-Selectors-Exemple-Output'> <p>Selector de clasă CSS Exemplu de ieșire </p>  <h2 id='universal-selector'>  <b>  <strong>Selector universal </strong>  </b>  </h2> <p dir='ltr'> <span>The </span>  <span>Selector universal </span>  <span>(*) în CSS este folosit pentru a selecta toate elementele dintr-un document HTML. Include și alte elemente care se află în interior sub alt element. </span> </p>  <p dir='ltr'>  <b>  <strong>Notă: </strong>  </b>  <span>Următorul cod este utilizat în exemplul de mai sus folosind selectorul universal. Această regulă CSS va fi aplicată fiecărui element HTML de pe pagină: </span> </p>  <h3>  <b>  <strong>CSS: </strong>  </b>  </h3> <pre>* {  color: white;  background-color: black; } </pre> <p dir='ltr'>  <b>  <strong>Ieșire: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors-4.webp' alt='CSS-Selector-Universal-Exemplu-Ieșire'> <p>CSS Universal Selector Exemplu de ieșire </p>  <h2 id='group-selector'>  <b>  <strong>Selector de grup </strong>  </b>  </h2> <p dir='ltr'> <span>The </span>  <b>  <strong>Selector de grup </strong>  </b>  <span>este folosit pentru a stila toate elementele separate prin virgulă cu același stil. </span> </p>  <p dir='ltr'>  <b>  <strong>Notă: </strong>  </b>  <span>Să presupunem că doriți să aplicați stiluri comune diferitelor selectoare, în loc să scrieți regulile separat, le puteți scrie în grupuri, așa cum se arată mai jos. </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>Ieșire: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors-5.webp' alt='CSS-Selector-Grup-Exemplu-Ieșire'> <p>Selector de grup CSS Exemplu de ieșire </p>  <h2 id='attribute-selector'>  <b>  <strong>Selector de atribute </strong>  </b>  </h2> <p dir='ltr'> <span>The </span>   <b>  <strong>selector de atribute </strong>  </b>   <span>[atribut] este folosit pentru a selecta elementele cu un atribut sau o valoare de atribut specificată. </span> </p>  <p dir='ltr'>  <b>  <strong>Notă: </strong>  </b>  <span>Următorul cod este folosit în exemplul de mai sus folosind selectorul de atribute. Această regulă CSS va fi aplicată fiecărui element HTML de pe pagină: </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>Ieșire: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors-6.webp' alt='CSS-Atribut-Selectros-Exemplu-Ieșire'> <p>Atribut CSS Selectros Exemplu de ieșire </p>  <h2 id='pseudoclass-selector'>  <b>  <strong>Selector de pseudo-clasă </strong>  </b>  </h2> <p dir='ltr'> <span>Este folosit pentru a stila un tip special de stare al oricărui element. De exemplu, este folosit pentru a stila un element atunci când cursorul mouse-ului trece peste el. </span> </p>  <p dir='ltr'>  <b>  <strong>Notă: </strong>  </b>  <span>Folosim un singur două puncte(:) în cazul unui </span>  <span>Selector de pseudo-clasă </span>  <span>. </span> </p>  <p dir='ltr'>  <b>  <strong>Sintaxă: </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>Ieșire: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors.webp' alt='CSS-Pseudo-Selector-Exemplu-Ieșire'> <p>Ieșire exemplu de pseudoselector CSS </p>  <h2 id='pseudoelement-selector'>  <b>  <strong>Selector de pseudo-element </strong>  </b>  </h2> <p dir='ltr'> <span>Este folosit pentru a stila orice parte specifică a elementului. De exemplu - este folosit pentru a stila prima literă sau prima linie a oricărui element. </span> </p>  <p dir='ltr'>  <b>  <strong>Notă: </strong>  </b>  <span>Folosim două puncte duble(::) în cazul a </span>  <span>Selector de pseudo-element </span>  <span>. </span> </p>  <p dir='ltr'>  <b>  <strong>Sintaxă: </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>Ieșire: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors-7.webp' alt='CSS-Pseudo-Element-Selector-Exemplu-Ieșire'> <p>Exemplu de ieșire a selectorului de pseudo-element 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>
                                    Distribuie                              </h4>
                                 
                                  <div class="flex flex-wrap justify-center gap-3">
                                     <!-- Twitter -->
                                     <a href="https://twitter.com/intent/tweet?text=Selectoare CSS&url=https://www.techcodeview.com/ro/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/ro/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/ro/css-selectors&title=Selectoare 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">
                            S-Ar Putea Să Vă Placă                     </h3>
                         <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                             <div class="group">
                                  <a href="/ro/minimax-algorithm-game-theory-set-1" 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/it-problems-solutions/08/minimax-algorithm-game-theory-set-1.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Algoritmul Minimax în teoria jocurilor | Setul 1 (Introducere)" 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="/ro/minimax-algorithm-game-theory-set-1">Algoritmul Minimax în teoria jocurilor | Setul 1 (Introducere) </a>
                                  </h4>
                             </div> <div class="group">
                                  <a href="/ro/classloader-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-misc/44/classloader-java.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="ClassLoader în Java" 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="/ro/classloader-java">ClassLoader în Java </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>
                    Top Articole             </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="/ro/what-is-advanced-international-certificate-education-1311238">
    						 <img src="https://techcodeview.com/img/blog/97/what-is-advanced-international-certificate-education.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Ce este Certificatul Internațional Avansat de Educație (AICE)?" 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="/ro/what-is-advanced-international-certificate-education-1311238" class="hover:text-tech-500 transition-colors line-clamp-3">Ce este Certificatul Internațional Avansat de Educație (AICE)? </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="/ro/java-decompiler">
    						 <img src="https://techcodeview.com/img/java-misc/51/java-decompiler.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Decompiler Java" 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="/ro/java-decompiler" class="hover:text-tech-500 transition-colors line-clamp-3">Decompiler Java </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="/ro/java-joptionpane">
    						 <img src="https://techcodeview.com/img/java-swing/77/java-joptionpane.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Java JOptionPane" 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="/ro/java-joptionpane" class="hover:text-tech-500 transition-colors line-clamp-3">Java JOptionPane </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="/ro/difference-between-compound">
    						 <img src="https://techcodeview.com/img/chemistry-class-9/07/difference-between-compound.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Diferența dintre compus și amestec" 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="/ro/difference-between-compound" class="hover:text-tech-500 transition-colors line-clamp-3">Diferența dintre compus și amestec </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="/ro/foreach-loop">
    						 <img src="https://techcodeview.com/img/powershell-tutorial/90/foreach-loop.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Pentru fiecare buclă" 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="/ro/foreach-loop" class="hover:text-tech-500 transition-colors line-clamp-3">Pentru fiecare buclă </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="/ro/how-check-ram-linux">
    						 <img src="https://techcodeview.com/img/linux-tutorial/54/how-check-ram-linux.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Cum să verificați memoria RAM în Linux" 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="/ro/how-check-ram-linux" class="hover:text-tech-500 transition-colors line-clamp-3">Cum să verificați memoria RAM în Linux </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="/ro/cuny-vs-suny-whats-difference-131198">
    						 <img src="https://techcodeview.com/img/blog/06/cuny-vs-suny-whats-difference.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="CUNY vs SUNY: Care este diferența?" 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="/ro/cuny-vs-suny-whats-difference-131198" class="hover:text-tech-500 transition-colors line-clamp-3">CUNY vs SUNY: Care este diferența? </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="/ro/count-maximum-points-on-same-line">
    						 <img src="https://techcodeview.com/img/geometric/32/count-maximum-points-on-same-line.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Numărați maximum de puncte pe aceeași linie" 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="/ro/count-maximum-points-on-same-line" class="hover:text-tech-500 transition-colors line-clamp-3">Numărați maximum de puncte pe aceeași linie </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="/ro/how-download-youtube-videos">
    						 <img src="https://techcodeview.com/img/listicles/31/how-download-youtube-videos.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Cum să descărcați videoclipuri YouTube?" 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="/ro/how-download-youtube-videos" class="hover:text-tech-500 transition-colors line-clamp-3">Cum să descărcați videoclipuri YouTube? </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="/ro/uniq-command-linux-with-examples">
    						 <img src="https://techcodeview.com/img/linux-command/38/uniq-command-linux-with-examples.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Comanda uniq în Linux cu exemple" 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="/ro/uniq-command-linux-with-examples" class="hover:text-tech-500 transition-colors line-clamp-3">Comanda uniq în Linux cu exemple </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">Categorie </h2>
    		 </div>
    		 <div class="flex flex-wrap gap-2">
                 <a href="/ro/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="/ro/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">
                    Conversie Java
                 </a> <a href="/ro/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">
                    Matematica
                 </a> <a href="/ro/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">
                    Colecții Java
                 </a> <a href="/ro/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">
                    Diferențele
                 </a> <a href="/ro/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">
                    Șir 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">Articole Interesante </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/it-problems-solutions/89/python-using-2d-arrays-lists-right-way.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Python | Folosind matrice/liste 2D în mod corect" 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="/ro/it-problems-solutions/">Probleme Și Soluții It </a> </div>
    						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/ro/python-using-2d-arrays-lists-right-way">Python | Folosind matrice/liste 2D în mod corect </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/57/how-get-merit-scholarship.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Cum să obțineți o bursă de merit: Ghid în 6 pași" 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="/ro/blog/">Blog </a> </div>
    						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/ro/how-get-merit-scholarship-1311342">Cum să obțineți o bursă de merit: Ghid în 6 pași </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/99/how-use-sohcahtoa.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Cum să utilizați SOHCAHTOA: sfaturi și exemple" 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="/ro/blog/">Blog </a> </div>
    						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/ro/how-use-sohcahtoa-131382">Cum să utilizați SOHCAHTOA: sfaturi și exemple </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/02/how-craft-stellar-brag-sheet.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Cum să creați o foaie de laudă stellar" 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="/ro/blog/">Blog </a> </div>
    						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/ro/how-craft-stellar-brag-sheet-1311460">Cum să creați o foaie de laudă stellar </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/css-tutorial/44/how-add-border-css.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Cum se adaugă o chenar în CSS?" 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="/ro/css-tutorial/">Tutorial Css </a> </div>
    						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/ro/how-add-border-css">Cum se adaugă o chenar în CSS? </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/sas-tutorial/44/numeric-data-format.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Format de date numerice" 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="/ro/sas-tutorial/">Tutorial Sas </a> </div>
    						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/ro/numeric-data-format">Format de date numerice </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 Toate Drepturile Rezervate | 
                     <a href="//www.techcodeview.com/ko/">techcodeview.com </a> | 
                     <a href="/disclaimer" rel="nofollow noopener noreferrer" target="_blank">Declinare A Răspunderii </a> | 
                     <a href="/about-us" rel="nofollow noopener noreferrer" target="_blank">Despre Noi </a> | 
                     <a href="/privacy-policy" rel="nofollow noopener noreferrer" target="_blank">Politica De Confidențialitate </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>