CSS atlasītāji

CSS atlasītāji

CSS atlasītāji ir jebkuras stilīgas tīmekļa lapas mugurkauls. Tie atlasa HTML elementus jūsu lapās, ļaujot pievienot stilus, pamatojoties uz to ID, klasi, veidu, atribūtu un citiem. Šajā rokasgrāmatā tiks aplūkotas CSS atlasītāju sarežģītības un to galvenā loma jūsu tīmekļa lapu estētikas un lietotāja pieredzes uzlabošanā.

CSS atlasītāju veidi

CSS atlasītājiem ir dažādi veidi, un katram ir savs unikāls veids, kā atlasīt HTML elementus. Izpētīsim tos:

CSS atlasītāji Apraksts

Vienkārši atlasītāji

To izmanto, lai atlasītu HTML elementus, pamatojoties uz to elementa nosaukumu, ID, atribūtiem utt

Universālais selektors Atlasa visus lapas elementus.
Atribūtu atlasītājs Atlasa mērķauditoriju elementos, pamatojoties uz to atribūtu vērtībām.
Pseidoklases atlasītājs Atlasa elementus, pamatojoties uz to stāvokli vai pozīciju, piemēram, :hover> lidināšanās efektiem.
Kombinatoru selektori Apvienojiet atlasītājus, lai norādītu attiecības starp elementiem, piemēram, pēcnācējus ( > ) vai bērns ( >>> ).
Pseidoelementu atlasītājs Atlasa noteiktas elementa daļas, piemēram, CSS atlasītāju veidi
  • Vienkārši atlasītāji
  • Elementu atlasītājs
  • ID atlasītājs
  • Klases atlasītājs
  • Universālais selektors
  • Grupas atlasītājs
  • Atribūtu atlasītājs
  • Pseidoklases atlasītājs
  • Pseidoelementu atlasītājs
  • Vienkārši atlasītāji

    Vienkāršajos atlasītājos ir ietvertas tālāk norādītās klases.

    Vienkāršs atlasītājs Apraksts
    Elementu atlasītājs Atlasa HTML elementus, pamatojoties uz to tagu nosaukumiem.
    ID atlasītājs Atlasa mērķauditoriju pēc HTML elementa ar noteiktu id atribūtu.
    Klases atlasītājs Atlasa elementus ar noteiktu klases atribūtu.

    Piemērs: Šajā piemērā mēs rakstīsim kodu, lai labāk izprastu atlasītājus un to lietojumus.

    HTML
          CSS atlasītāja virsraksts> <link rel='stylesheet' href='style.css' />galva> <body>  <h1>Paraugs Headingh1> <p>Šis ir saturs pirmajā rindkopāp> <div id='div-container'>Šis ir div ar id div-container div> <p>Šī ir rindkopa ar klasi paragrāfs-klase p> body> html> </pre>  </code>  <p dir='ltr'>  <b>  <strong>Piezīme: </strong>  </b>  <span>Mēs piemērosim CSS noteikumus iepriekšminētajam piemēram. </span> </p>  <h2 id='element-selector'>  <b>  <strong>Elementu atlasītājs </strong>  </b>  </h2> <p dir='ltr'> <span>The </span>  <span>elementu atlasītājs </span>  <span>atlasa HTML elementus, pamatojoties uz elementa nosaukumu (vai tagu), piemēram, p, h1, div, span utt. </span> </p>  <p dir='ltr'>  <b>  <strong>PIEZĪME : </strong>  </b>  <span>Iepriekš minētajā piemērā tiek izmantots šāds kods. Varat redzēt visiem piemērotos CSS noteikumus </span>  <span> </span> </p> <p>  <span>tagus un </span> </p> <h1>tagus. <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>Izvade: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors.webp' alt='CSS-Element-Selectors-Example-output'> <p>CSS elementu atlasītāja izvade </p>  <h2 id='id-selector'>  <b>  <strong>ID atlasītājs </strong>  </b>  </h2> <p dir='ltr'> <span>The </span>   <b>  <strong>id atlasītājs </strong>  </b>   <span>izmanto </span>   <i>  <em>id atribūts </em>  </i>   <span>HTML elementu, lai atlasītu konkrētu elementu. </span>  <b>  <strong>  </strong>  </b>  <span>An </span>  <b>  <strong>id </strong>  </b>  <span>elements ir unikāls izmantojamajā lapā </span>  <b>  <strong>id </strong>  </b>  <span>atlasītājs. </span> </p>  <p dir='ltr'>  <b>  <strong>Piezīme: </strong>  </b>  <span>Iepriekš minētajā piemērā tiek izmantots šāds kods, izmantojot id atlasītāju. </span> </p>  <h3>  <b>  <strong>CSS: </strong>  </b>  </h3> <pre>#div-container{  color: blue;  background-color: gray; } </pre> <p dir='ltr'>  <b>  <strong>Izvade: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors-2.webp' alt='CSS-Id-selectors-example-output'> <p>CSS ID atlasītāju piemēra izvade </p>  <h2 id='class-selector'>  <b>  <strong>Klases atlasītājs </strong>  </b>  </h2> <p dir='ltr'> <span>The </span>   <b>  <strong>klases atlasītājs </strong>  </b>   <span>atlasa HTML elementus ar noteiktu klases atribūtu. </span> </p>  <p dir='ltr'>  <b>  <strong>Piezīme: </strong>  </b>  <span>Iepriekš minētajā piemērā tiek izmantots šāds kods, izmantojot klases atlasītāju. Lai izmantotu klases atlasītāju, CSS ir jāizmanto (. ), kam seko klases nosaukums. Šis noteikums tiks piemērots HTML elementam ar klases atribūtu </span>  <i>  <em>rindkopu klase </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>Izvade: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors-3.webp' alt='CSS-klase-selektori-piemērs-izvade'> <p>CSS klases atlasītāja piemēra izvade </p>  <h2 id='universal-selector'>  <b>  <strong>Universālais selektors </strong>  </b>  </h2> <p dir='ltr'> <span>The </span>  <span>Universāls selektors </span>  <span>(*) CSS izmanto, lai atlasītu visus elementus HTML dokumentā. Tas ietver arī citus elementus, kas atrodas zem cita elementa. </span> </p>  <p dir='ltr'>  <b>  <strong>Piezīme: </strong>  </b>  <span>Iepriekš minētajā piemērā tiek izmantots šāds kods, izmantojot universālo selektoru. Šī CSS kārtula tiks piemērota katram lapas HTML elementam: </span> </p>  <h3>  <b>  <strong>CSS: </strong>  </b>  </h3> <pre>* {  color: white;  background-color: black; } </pre> <p dir='ltr'>  <b>  <strong>Izvade: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors-4.webp' alt='CSS-Universal-Selector-Example-Output'> <p>CSS universālā atlasītāja izvades piemērs </p>  <h2 id='group-selector'>  <b>  <strong>Grupas atlasītājs </strong>  </b>  </h2> <p dir='ltr'> <span>The </span>  <b>  <strong>Grupas atlasītājs </strong>  </b>  <span>tiek izmantots, lai visus ar komatu atdalītos elementus veidotu vienā stilā. </span> </p>  <p dir='ltr'>  <b>  <strong>Piezīme: </strong>  </b>  <span>Pieņemsim, ka vēlaties piemērot kopīgus stilus dažādiem atlasītājiem, tā vietā, lai rakstītu noteikumus atsevišķi, varat tos rakstīt grupās, kā parādīts tālāk. </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>Izvade: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors-5.webp' alt='CSS-Group-Selector-Example-Output'> <p>CSS grupas atlasītāja piemēra izvade </p>  <h2 id='attribute-selector'>  <b>  <strong>Atribūtu atlasītājs </strong>  </b>  </h2> <p dir='ltr'> <span>The </span>   <b>  <strong>atribūtu atlasītājs </strong>  </b>   <span>[atribūts] tiek izmantots, lai atlasītu elementus ar noteiktu atribūtu vai atribūta vērtību. </span> </p>  <p dir='ltr'>  <b>  <strong>Piezīme: </strong>  </b>  <span>Iepriekš minētajā piemērā tiek izmantots šāds kods, izmantojot atribūtu atlasītāju. Šī CSS kārtula tiks piemērota katram lapas HTML elementam: </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>Izvade: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors-6.webp' alt='CSS-Atribūts-Selectros-Piemērs-Izvade'> <p>CSS atribūtu atlases piemēra izvade </p>  <h2 id='pseudoclass-selector'>  <b>  <strong>Pseidoklases atlasītājs </strong>  </b>  </h2> <p dir='ltr'> <span>To izmanto, lai veidotu jebkura elementa īpaša veida stāvokli. Piemēram, to izmanto elementa stila veidošanai, kad peles kursors atrodas virs tā. </span> </p>  <p dir='ltr'>  <b>  <strong>Piezīme: </strong>  </b>  <span>Mēs izmantojam vienu kolu (:) a gadījumā </span>  <span>Pseidoklases atlasītājs </span>  <span>. </span> </p>  <p dir='ltr'>  <b>  <strong>Sintakse: </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>Izvade: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors.webp' alt='CSS-pseido-selektora-piemēra-izvade'> <p>CSS pseido selektora piemēra izvade </p>  <h2 id='pseudoelement-selector'>  <b>  <strong>Pseidoelementu atlasītājs </strong>  </b>  </h2> <p dir='ltr'> <span>To izmanto, lai veidotu jebkuru konkrētu elementa daļu. Piemēram, to izmanto jebkura elementa pirmā burta vai pirmās rindas veidošanai. </span> </p>  <p dir='ltr'>  <b>  <strong>Piezīme: </strong>  </b>  <span>Mēs izmantojam dubulto kolu (::) a gadījumā </span>  <span>Pseidoelementu atlasītājs </span>  <span>. </span> </p>  <p dir='ltr'>  <b>  <strong>Sintakse: </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>Izvade: </strong>  </b>  </p>  <img src='//techcodeview.com/img/css-questions/50/css-selectors-7.webp' alt='CSS-Pseido-Element-Selector-Example-Output'> <p>CSS pseidoelementu atlasītāja piemēra izvade </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>
                                    Kopīgot                              </h4>
                                 
                                  <div class="flex flex-wrap justify-center gap-3">
                                     <!-- Twitter -->
                                     <a href="https://twitter.com/intent/tweet?text=CSS atlasītāji&url=https://www.techcodeview.com/lv/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/lv/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/lv/css-selectors&title=CSS atlasītāji" 
                                       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">
                            Jums Varētu Patikt                     </h3>
                         <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                             <div class="group">
                                  <a href="/lv/undo-redo-vi-editor" 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/geeks-premier-league-2023/27/undo-redo-vi-editor.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Atsaukt un atkārtot Vi redaktorā" 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="/lv/undo-redo-vi-editor">Atsaukt un atkārtot Vi redaktorā </a>
                                  </h4>
                             </div> <div class="group">
                                  <a href="/lv/fork-c" 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/c-library/49/fork-c.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="dakša () valodā C" 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="/lv/fork-c">dakša () valodā C </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 Raksti             </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="/lv/remove-elements-from-javascript-array">
    						 <img src="https://techcodeview.com/img/javascript-array/01/remove-elements-from-javascript-array.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Noņemiet elementus no JavaScript masīva" 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="/lv/remove-elements-from-javascript-array" class="hover:text-tech-500 transition-colors line-clamp-3">Noņemiet elementus no JavaScript masīva </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="/lv/cut-command-linux-with-examples">
    						 <img src="https://techcodeview.com/img/linux-command/34/cut-command-linux-with-examples.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="izgriezt komandu Linux ar piemēriem" 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="/lv/cut-command-linux-with-examples" class="hover:text-tech-500 transition-colors line-clamp-3">izgriezt komandu Linux ar piemēriem </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="/lv/mini-max-algorithm-artificial-intelligence">
    						 <img src="https://techcodeview.com/img/artificial-intelligence/86/mini-max-algorithm-artificial-intelligence.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Mini-Max algoritms mākslīgajā intelektā" 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="/lv/mini-max-algorithm-artificial-intelligence" class="hover:text-tech-500 transition-colors line-clamp-3">Mini-Max algoritms mākslīgajā intelektā </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="/lv/explained-what-is-twitch-242112">
    						 <img src="https://techcodeview.com/img/get-informed/94/explained-what-is-twitch.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Paskaidrots: kas ir Twitch?" 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="/lv/explained-what-is-twitch-242112" class="hover:text-tech-500 transition-colors line-clamp-3">Paskaidrots: kas ir Twitch? </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="/lv/how-remove-bullet-points-css">
    						 <img src="https://techcodeview.com/img/css-tutorial/90/how-remove-bullet-points-css.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Kā noņemt aizzīmju punktus no CSS?" 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="/lv/how-remove-bullet-points-css" class="hover:text-tech-500 transition-colors line-clamp-3">Kā noņemt aizzīmju punktus no CSS? </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="/lv/linux-package-manager">
    						 <img src="https://techcodeview.com/img/linux-tutorial/57/linux-package-manager.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Linux pakotņu pārvaldnieks" 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="/lv/linux-package-manager" class="hover:text-tech-500 transition-colors line-clamp-3">Linux pakotņu pārvaldnieks </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="/lv/ubuntu-screen-recorder">
    						 <img src="https://techcodeview.com/img/linux-tutorial/61/ubuntu-screen-recorder.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Ubuntu ekrāna ierakstītājs" 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="/lv/ubuntu-screen-recorder" class="hover:text-tech-500 transition-colors line-clamp-3">Ubuntu ekrāna ierakstītājs </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="/lv/sql-group">
    						 <img src="https://techcodeview.com/img/it-problems-solutions/13/sql-group.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="SQL | GROUP BY" 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="/lv/sql-group" class="hover:text-tech-500 transition-colors line-clamp-3">SQL | GROUP BY </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="/lv/whats-lowest-sat-score-possible-131814">
    						 <img src="https://techcodeview.com/img/blog/29/whats-lowest-sat-score-possible.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Kāds ir zemākais iespējamais SAT rādītājs? Cik daudzi to saņem?" 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="/lv/whats-lowest-sat-score-possible-131814" class="hover:text-tech-500 transition-colors line-clamp-3">Kāds ir zemākais iespējamais SAT rādītājs? Cik daudzi to saņem? </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="/lv/explained-what-is-simsimi-24268">
    						 <img src="https://techcodeview.com/img/get-informed/67/explained-what-is-simsimi.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Paskaidrots: Kas ir SimSimi?" 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="/lv/explained-what-is-simsimi-24268" class="hover:text-tech-500 transition-colors line-clamp-3">Paskaidrots: Kas ir SimSimi? </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">Kategorija </h2>
    		 </div>
    		 <div class="flex flex-wrap gap-2">
                 <a href="/lv/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">
                    Emuārs
                 </a> <a href="/lv/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">
                    Java Konvertēšana
                 </a> <a href="/lv/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">
                    Matemātika
                 </a> <a href="/lv/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">
                    Java Kolekcijas
                 </a> <a href="/lv/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">
                    Atšķirības
                 </a> <a href="/lv/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">
                    Java Virkne
                 </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">Interesanti Raksti </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/alternatives/89/fmovies-alternatives.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="FMovies alternatīvas" 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="/lv/alternatives/">Alternatīvas </a> </div>
    						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/lv/fmovies-alternatives">FMovies alternatīvas </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/24/4-ways-sayi-love-youin-japanese.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="4 veidi, kā pateikt “Es tevi mīlu” japāņu valodā" 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="/lv/blog/">Emuārs </a> </div>
    						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/lv/4-ways-sayi-love-youin-japanese-131156">4 veidi, kā pateikt “Es tevi mīlu” japāņu valodā </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/differences/38/difference-between-network.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Atšķirība starp tīklu un internetu" 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="/lv/differences/">Atšķirības </a> </div>
    						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/lv/difference-between-network">Atšķirība starp tīklu un internetu </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/61/python-tkinter-button.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Python Tkinter poga" 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="/lv/python-tutorial/">Python Apmācība </a> </div>
    						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/lv/python-tkinter-button">Python Tkinter poga </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/hash/55/check-pair-with-given-product.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Pārbaudiet pāri ar doto produktu" 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="/lv/hash/">Sajaukt </a> </div>
    						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/lv/check-pair-with-given-product">Pārbaudiet pāri ar doto produktu </a> </h4>
    					 </div>
    				 </article>
    				 <!-- /ARTICLE --> <!-- ARTICLE -->
    				 <article class="relative aspect-video rounded-lg overflow-hidden group mb-2">
    					 <div class="absolute inset-0">
    						 <img src="https://techcodeview.com/img/java-stringbuffer/58/strings-java.webp" onerror="this.onerror=null; this.src='https://techcodeview.com/template/assets/images/unnamed.webp'" alt="Stīgas Java valodā" 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="/lv/java-stringbuffer/">Java-Stringbuffer </a> </div>
    						 <h4 class="text-sm font-bold text-white leading-tight"> <a href="/lv/strings-java">Stīgas Java valodā </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 Visas Tiesības Aizsargātas | 
                     <a href="//www.techcodeview.com/sv/">techcodeview.com </a> | 
                     <a href="/disclaimer" rel="nofollow noopener noreferrer" target="_blank">Atruna </a> | 
                     <a href="/about-us" rel="nofollow noopener noreferrer" target="_blank">Par Mums </a> | 
                     <a href="/privacy-policy" rel="nofollow noopener noreferrer" target="_blank">Privātuma Politika </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>