<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://logicwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=Css_Tips_and_Tricks</id>
		<title>Css Tips and Tricks - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://logicwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=Css_Tips_and_Tricks"/>
		<link rel="alternate" type="text/html" href="https://logicwiki.co.uk/index.php?title=Css_Tips_and_Tricks&amp;action=history"/>
		<updated>2026-06-02T06:10:34Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>https://logicwiki.co.uk/index.php?title=Css_Tips_and_Tricks&amp;diff=2151&amp;oldid=prev</id>
		<title>AliIybar: Created page with &quot;Category:css  == Text tooltips == &lt;pre&gt; &lt;button type=&quot;button&quot; class=&quot;tooltip&quot; data-tip=&quot;This css tooltip&quot;&gt;    I have a Tooltip &lt;/button&gt; // only add tooltip when there is...&quot;</title>
		<link rel="alternate" type="text/html" href="https://logicwiki.co.uk/index.php?title=Css_Tips_and_Tricks&amp;diff=2151&amp;oldid=prev"/>
				<updated>2021-07-26T07:49:09Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php?title=Category:Css&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:Css (page does not exist)&quot;&gt;Category:css&lt;/a&gt;  == Text tooltips == &amp;lt;pre&amp;gt; &amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;tooltip&amp;quot; data-tip=&amp;quot;This css tooltip&amp;quot;&amp;gt;    I have a Tooltip &amp;lt;/button&amp;gt; // only add tooltip when there is...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:css]]&lt;br /&gt;
&lt;br /&gt;
== Text tooltips ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;tooltip&amp;quot; data-tip=&amp;quot;This css tooltip&amp;quot;&amp;gt;&lt;br /&gt;
   I have a Tooltip&lt;br /&gt;
&amp;lt;/button&amp;gt;&lt;br /&gt;
// only add tooltip when there is a message&lt;br /&gt;
.tooltip[data-tip]:not([data-tip=&amp;quot;&amp;quot;])::before {&lt;br /&gt;
  content: attr(data-tip);&lt;br /&gt;
  position: absolute;&lt;br /&gt;
  background-color: rgba(0,0,0,0.8);&lt;br /&gt;
  color: #fff;&lt;br /&gt;
  padding: 15px 10px;&lt;br /&gt;
  border-radius: 3px;&lt;br /&gt;
  max-width: 300px;&lt;br /&gt;
  width: 250%;&lt;br /&gt;
  left: 50%;&lt;br /&gt;
  transform: translate(-50%, 0);&lt;br /&gt;
  bottom: calc(100% + 12px);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Extend the clickable area ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
button {&lt;br /&gt;
  border: none;&lt;br /&gt;
  background: #222;&lt;br /&gt;
  width: 10px;&lt;br /&gt;
  height: 10px;&lt;br /&gt;
  border-radius: 50%;&lt;br /&gt;
  padding: 0;&lt;br /&gt;
  position: relative;&lt;br /&gt;
  cursor: pointer;&lt;br /&gt;
}&lt;br /&gt;
button::after {&lt;br /&gt;
  content: &amp;quot;&amp;quot;;&lt;br /&gt;
  position: absolute;&lt;br /&gt;
  left: 50%;&lt;br /&gt;
  top: 50%;&lt;br /&gt;
  transform: translate(-50%, -50%);&lt;br /&gt;
  width: 200%;&lt;br /&gt;
  height: 200%;&lt;br /&gt;
  display: inline-block;&lt;br /&gt;
  /* for demo purpose only - should be removed   */&lt;br /&gt;
  background: rgba(0,0,0,0.2);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
== Responsive text ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width])));&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
font-size: clamp(min, viewport-width-unit, max);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Frosted glass effect ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
.container {&lt;br /&gt;
   background-color: rgba(255, 255, 255, .15);&lt;br /&gt;
   backdrop-filter: blur(5px);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>AliIybar</name></author>	</entry>

	</feed>