create account

Three new CSS properties: hit or miss? by kushyzee

View this thread on: hive.blogpeakd.comecency.com
· @kushyzee · (edited)
$7.98
Three new CSS properties: hit or miss?
Hello fellow devs and lovers of CSS. I recently came across some "new" CSS properties and I am putting new in quotes because there are not exactly new in the sense that they just got added to CSS but they have always been there, just that they are all under one property (can we say they are sub-properties? I think that's the right word).

![](https://images.ecency.com/DQmNrJwACVe3DkFvsaoTTfYQUpbdB2UD1BqFonBWZe7F7H9/img_0.8210521343321895.jpg)

The 3 properties I am talking about are scale, rotate, and translate. They were initially only under the transform property and to use either one of them, you will have to do something like `transform: rotate (10deg)`. But some issues can come when using this property especially when you have to animate things using the hover pseudo-class or animation property. To give you an example of what I'm talking about, let's look at a simple example.

![](https://images.ecency.com/DQmX78NzJWmDaHBGXkXfvVwEQY7BhyEKG1xFCa5QaNZR4hf/code_1.png)

I have already created 2 boxes using 2 divs and I gave both of them a class of box. The first div also has a class of one, while the second has a class of two. After all that, we are going to have the below result.

![](https://images.ecency.com/DQmcmJGeGYLRvsiHgG7v2mFYJVJrYEp61PAsYttDRP7yjwm/result_1.png)

The red box serves as a control, just so you can compare the changes carried out on the green box. first of all, I am going to increase the size of the green box using the old transform method.

``` css
.two {
transform: scale(1.5);
}
```
![](https://images.ecency.com/DQmVC2p2CfGem2NcTrxdX4KHQHFU1Ud44XhkDzSbHYunb1B/result_2.png)

Now let's add a hover effect that rotates the box when a user hovers over it. It's very simple but you're not going to get the desired result.
``` css
.two:hover {
transform: rotate(10deg);
}
```
<center>
![](https://images.ecency.com/DQmbrwJ6PCoyFMsJRcuBdjJexdnFDyoxvYAHqV5Mjqume7o/new.gif)
</center>
<br>
As you can see from the result, the box rotates but it reverts to its original size once a user hovers over it. This happens because even though we are using different sub-properties (scale and rotate), we are still referring to the transform property. This means that the second transform property is overwriting the first one.

CSS read codes from top to bottom, so once it gets to the first `transform`, it says: "okay, let's increase the size of this box by setting the scale to 1.5. But then once a user hovers over the box, CSS goes to the second `transform` property and says; "you know what, we are no longer increasing the size of the box, so cancel that and just use this current declaration which is to rotate it by 10deg".

The same thing happens when you use the `animation` property: once the animation starts, it will cancel the previous transform declaration and use the new one specified within the animation block. Newbies always run into this problem and they get confused about why it's not working the way it's written but there's a very simple workaround to this.
``` css
.two:hover {
transform: rotate(10deg) scale(1.5);
}
```
That's right, just adding the initial scale value to the hover declaration block will fix this issue. Even if the scale(1.5) in the first transform property gets overwritten by the second one, at least we still have the same scale sub-property in that second one. With this, the code will work as intended.
<center>
![](https://images.ecency.com/DQma1v2Ybw3ZZXDAGU8xrzqmpKCdP18QVeT3Z8UripV89x2/right_1.gif)
</center>
<br>
## The new properties
These 3 sub-properties (scale, translate, and rotate) can now be used on their own without having to rely on the transform property. Using them as a stand-alone property will eliminate all of those problems I talked about earlier without having to use that simple walk-around. What do I mean? Let's try to scale the box by 1.5 and then rotate it on hover by using the new properties.
``` css
.two {
scale: 1.5;
transition: rotate 0.4s ease;
}

.two:hover {
rotate: 10deg;
}
```

It's as simple as that and you will get the intended result. 
<center>
![](https://images.ecency.com/DQma1v2Ybw3ZZXDAGU8xrzqmpKCdP18QVeT3Z8UripV89x2/right_1.gif)
</center>
<br>
There's no overwriting with these new properties because each of them have no business with the other. Even if you do a scale 1.5 on the box and then apply a rotation on it on hover, the `rotate` property won't overwrite the `scale` property, they are now completely independent!

Each of those properties also have additional features that you can use to achieve different results. 

## Translate
Typically you can give it just one value and it will take it as the default which is the x-axis. For example `translate: 50px` will push the box to the right and adding a minus sign (-50px) will push the box to the left. You can add another value to this and that will represent the y-axis. For example: `translate: 50px 80px` will push the box 50px to the right and then 80px down. If you only want to push the box down, you can just do `translate: 0 80px`.

![](https://images.ecency.com/DQmQS6jNUta5TbgUKHiJCX55htp1dcEaaqBMCAZzBEgEsBR/translate.png)
<br>
## Scale
Setting just one value for the scale property will increase the size of the element on both the x and y-axis. `scale: 1.5` means the size on the x-axis will increase by 1.5 and the same applies to the y-axis, this will ensure the box only increases in size without altering its shape (it will remain a square box). If perhaps you want different values, you can do something like `scale: 1.6 1.2`, this means the size on the x-axis will increase by 1.6 and the y-axis by 1.2, this will result in a rectangle.

![](https://images.ecency.com/DQmUFEYMC76emQ5CckQ4n6YNDAFmpzQddZKPCGguYsBDNCP/scale.png)
<br>
## Rotate
The rotate property also accepts only one value as default and this will rotate the box on the z-axis. You can do a rotation on the x and y axis as well by doing something like `rotate: x 45deg` or `rotate: y 45deg`. You can also do a rotation on all three axes at the same time; `rotate: 1 1 1 45deg`. This simply means we are rotating the box on the x, y, and z axis by 45deg (it's a 3D rotation). This will result in something like this:

![](https://images.ecency.com/DQmfLX2VWH6C2K2oQ7ETp4kMKEWqgwsdLmeqSGNr1M7foW2/result_5.png)
<br>
You can even do something cool by adding a rotate: -20deg (or any other value) on hover and it will produce the below result.

![](https://images.ecency.com/DQmQYQirzxBH6qXnesL4seNX16vR86D6NNRfzP3taFzhtQ1/cool_1.gif)
<br>

## Conclusion
The 3 new properties can still be used through the transform property and you can continue using it if that's what you prefer. These new properties are now supported in the latest versions of most modern browsers but if you're worried about **[compatability issues in older versions](https://caniuse.com/?search=rotate)**, then you should probably stick with the `transform` property.

I personally love these new properties because it means I can now write fewer codes and it looks cleaner than using the transform property. What do you think about these new properties? Will you start using them or you will continue doing things the old way by using the transform property?

**Thanks for reading**
![](https://images.ecency.com/DQmbLhPcVduzukxbvrW8pAyEeLpgxqFs1sddNPJCm5xjM4V/img_0.018478079605897074.jpg)
**Connect with me on:**
**Twitter:** **[@kushyzeena](https://twitter.com/kushyzeena)**
**Readcash:** **[@kushyzee](https://read.cash/@Kushyzee)**
<div class = phishy> 
<strong>Lead image: <a href="https://www.freepik.com/free-vector/mobile-application-development-programming-languages-css-html-it-ui-male-programmer-cartoon-character-developing-website-coding_11669139.htm#query=Css&position=36&from_view=search">Image by vectorjuice</a> on Freepik </strong> <br>
<strong>Edited with Canva</strong>
</div>
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 270 others
properties (23)
authorkushyzee
permlinkthree-new-css-properties-hit
categoryhive-169321
json_metadata{"links":["https://caniuse.com/?search=rotate","https://twitter.com/kushyzeena","https://read.cash/@Kushyzee","https://www.freepik.com/free-vector/mobile-application-development-programming-languages-css-html-it-ui-male-programmer-cartoon-character-developing-website-coding_11669139.htm#query=Css&position=36&from_view=search"],"image":["https://images.ecency.com/DQmNrJwACVe3DkFvsaoTTfYQUpbdB2UD1BqFonBWZe7F7H9/img_0.8210521343321895.jpg","https://images.ecency.com/DQmX78NzJWmDaHBGXkXfvVwEQY7BhyEKG1xFCa5QaNZR4hf/code_1.png","https://images.ecency.com/DQmcmJGeGYLRvsiHgG7v2mFYJVJrYEp61PAsYttDRP7yjwm/result_1.png","https://images.ecency.com/DQmVC2p2CfGem2NcTrxdX4KHQHFU1Ud44XhkDzSbHYunb1B/result_2.png","https://images.ecency.com/DQmbrwJ6PCoyFMsJRcuBdjJexdnFDyoxvYAHqV5Mjqume7o/new.gif","https://images.ecency.com/DQma1v2Ybw3ZZXDAGU8xrzqmpKCdP18QVeT3Z8UripV89x2/right_1.gif","https://images.ecency.com/DQma1v2Ybw3ZZXDAGU8xrzqmpKCdP18QVeT3Z8UripV89x2/right_1.gif","https://images.ecency.com/DQmQS6jNUta5TbgUKHiJCX55htp1dcEaaqBMCAZzBEgEsBR/translate.png","https://images.ecency.com/DQmUFEYMC76emQ5CckQ4n6YNDAFmpzQddZKPCGguYsBDNCP/scale.png","https://images.ecency.com/DQmfLX2VWH6C2K2oQ7ETp4kMKEWqgwsdLmeqSGNr1M7foW2/result_5.png","https://images.ecency.com/DQmQYQirzxBH6qXnesL4seNX16vR86D6NNRfzP3taFzhtQ1/cool_1.gif","https://images.ecency.com/DQmbLhPcVduzukxbvrW8pAyEeLpgxqFs1sddNPJCm5xjM4V/img_0.018478079605897074.jpg"],"tags":["hive-169321","pob","neoxian","stem","hivelearners","vyb","hive","palnet","css"],"app":"ecency/3.0.33-mobile","format":"markdown+html"}
created2022-09-11 21:03:39
last_update2022-09-12 06:28:33
depth0
children23
last_payout2022-09-18 21:03:39
cashout_time1969-12-31 23:59:59
total_payout_value4.035 HBD
curator_payout_value3.947 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length7,853
author_reputation91,879,023,731,471
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,530,211
net_rshares11,178,172,125,379
author_curate_reward""
vote details (334)
@ayane-chan ·
I'm currently studying CSS. This could be a help for a beginner like, since the only thing I have learned up to now, is changing the font's color, size, and family, then adding pictures. πŸ˜†

Thanks for this, @kushyzee. 
properties (22)
authorayane-chan
permlinkre-kushyzee-2022914t84556698z
categoryhive-169321
json_metadata{"tags":["hive-169321","pob","neoxian","stem","hivelearners","vyb","hive","palnet","css"],"app":"ecency/3.0.26-vision","format":"markdown+html"}
created2022-09-14 00:45:57
last_update2022-09-14 00:45:57
depth1
children1
last_payout2022-09-21 00:45:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length218
author_reputation191,248,305,888,188
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,597,258
net_rshares0
@kushyzee ·
You have learnt some of the basics of CSS and I am guessing you're taking things slow which is a great idea coz CSS can get confusing at one point, taking your time to learn the basics will greatly benefit you 😊 I am glad you found my article helpful, goodluck to you on your web development journey 
properties (22)
authorkushyzee
permlinkre-ayane-chan-2022914t75431646z
categoryhive-169321
json_metadata{"tags":["hive-169321","pob","neoxian","stem","hivelearners","vyb","hive","palnet","css"],"app":"ecency/3.0.33-mobile","format":"markdown+html"}
created2022-09-14 06:54:33
last_update2022-09-14 06:54:33
depth2
children0
last_payout2022-09-21 06:54:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length300
author_reputation91,879,023,731,471
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,603,666
net_rshares0
@charlrific ·
$0.10
Hmm... I totally ignored those properties when I was learning CSS and just mastered the transform because I felt they were making things complicated. I guess that's why I was having a hard time with animations but it's all clear now thanks to you!
πŸ‘  , , , , , , , , , , ,
properties (23)
authorcharlrific
permlinkre-kushyzee-2022912t11021466z
categoryhive-169321
json_metadata{"tags":["hive-169321","pob","neoxian","stem","hivelearners","vyb","hive","palnet","css"],"app":"ecency/3.0.26-vision","format":"markdown+html"}
created2022-09-12 00:10:27
last_update2022-09-12 00:10:27
depth1
children1
last_payout2022-09-19 00:10:27
cashout_time1969-12-31 23:59:59
total_payout_value0.052 HBD
curator_payout_value0.051 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length247
author_reputation12,515,265,882,572
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,534,206
net_rshares147,264,710,602
author_curate_reward""
vote details (12)
@kushyzee ·
These properties are very useful and important when it comes to hover effects and animations, especially scale and rotate. Translate is very handy when it comes to centering a div 😁. Thanks for visiting bro
πŸ‘  , , ,
properties (23)
authorkushyzee
permlinkre-charlrific-2022912t74320499z
categoryhive-169321
json_metadata{"tags":["hive-169321","pob","neoxian","stem","hivelearners","vyb","hive","palnet","css"],"app":"ecency/3.0.33-mobile","format":"markdown+html"}
created2022-09-12 06:43:21
last_update2022-09-12 06:43:21
depth2
children0
last_payout2022-09-19 06:43:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length206
author_reputation91,879,023,731,471
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,540,719
net_rshares1,857,542,716
author_curate_reward""
vote details (4)
@curation-cartel ·
![1UP-PIZZA.png](https://files.peakd.com/file/peakd-hive/curation-cartel/23xediR4hotaNsS5pUJrmYVg3YGeTLpui41uCij2jhUDZ4uFT84zoGJf8a8VnfELXLJgt.png) |  <div class="phishy"><u><h4>You have received a __1UP__ from @gwajnberg!</h4></u></div> The @oneup-cartel will soon upvote you with:<hr> __@stem-curator, @vyb-curator, @pob-curator, @neoxag-curator, @pal-curator__ <hr>_And they will bring !PIZZA πŸ•._
-|-

<sup>[Learn more](https://peakd.com/hive-102223/@flauwy/the-curation-cartel-1up-trigger-smart-voting-mana-and-high-delegation-returns-for-14-different-tribes) about our delegation service to earn daily rewards. Join the Cartel on [Discord](https://discord.gg/mvtAneE3Ca).</sup>
properties (22)
authorcuration-cartel
permlinkre-three-new-css-properties-hit-20220912t151541z
categoryhive-169321
json_metadata"{"app": "beem/0.24.26"}"
created2022-09-12 15:15:42
last_update2022-09-12 15:15:42
depth1
children0
last_payout2022-09-19 15:15:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length682
author_reputation1,123,882,653,763
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,550,851
net_rshares0
@elianaicgomes ·
I've been trying to learn some basic coding so I can slowly level up and study web design so these things are very useful for me to know!

Happy to come across your post! Following you to check for more posts like this 😁

!CTP
!PIZZA
πŸ‘  , , ,
properties (23)
authorelianaicgomes
permlinkre-kushyzee-ri3z3q
categoryhive-169321
json_metadata{"tags":["hive-169321"],"app":"peakd/2022.07.1"}
created2022-09-12 17:54:09
last_update2022-09-12 17:54:09
depth1
children1
last_payout2022-09-19 17:54:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length233
author_reputation197,354,536,142,796
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,556,441
net_rshares1,841,331,179
author_curate_reward""
vote details (4)
@kushyzee ·
Thanks for the encouraging words 😊 I will certainly publish more articles about web development and design as time goes on, I love writing about these things because I know someone out there will find them useful.

Thank you for the tokens! 😊
πŸ‘  , , , ,
properties (23)
authorkushyzee
permlinkre-elianaicgomes-2022912t19022284z
categoryhive-169321
json_metadata{"tags":["hive-169321"],"app":"ecency/3.0.33-mobile","format":"markdown+html"}
created2022-09-12 18:00:24
last_update2022-09-12 18:00:24
depth2
children0
last_payout2022-09-19 18:00:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length242
author_reputation91,879,023,731,471
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,556,730
net_rshares8,620,681,200
author_curate_reward""
vote details (5)
@gwajnberg ·
CSS is always a chalenge for me! And you master it ! congratz

!1UP
<a href="https://discord.gg/zQrvxAu7mu">
<img src="https://files.peakd.com/file/peakd-hive/thecuriousfool/23wCNFDyCLJu1v77TTg2MYKkd7XWkgF9fhiLujTDAaLaUz7H4AaQkDentB5UMVS8FcrVs.png"></a>
πŸ‘  , , ,
properties (23)
authorgwajnberg
permlinkre-kushyzee-ri3rme
categoryhive-169321
json_metadata{"tags":["hive-169321"],"app":"peakd/2022.07.1"}
created2022-09-12 15:13:27
last_update2022-09-12 15:13:27
depth1
children1
last_payout2022-09-19 15:13:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length253
author_reputation399,269,956,650,424
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,550,765
net_rshares1,845,937,653
author_curate_reward""
vote details (4)
@kushyzee ·
I don't really see myself as a master at CSS, I just have lots of experience using it. Thanks for reading 
πŸ‘  , , ,
properties (23)
authorkushyzee
permlinkre-gwajnberg-2022912t161610914z
categoryhive-169321
json_metadata{"tags":["hive-169321"],"app":"ecency/3.0.33-mobile","format":"markdown+html"}
created2022-09-12 15:16:12
last_update2022-09-12 15:16:12
depth2
children0
last_payout2022-09-19 15:16:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length106
author_reputation91,879,023,731,471
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,550,874
net_rshares1,843,633,033
author_curate_reward""
vote details (4)
@hivebuzz ·
Congratulations @kushyzee! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s):

<table><tr><td><img src="https://images.hive.blog/60x60/http://hivebuzz.me/badges/postallweek.png"></td><td>You have been a buzzy bee and published a post every day of the week.</td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@kushyzee) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



**Check out the last post from @hivebuzz:**
<table><tr><td><a href="/hive-106258/@hivebuzz/hivefest7-shop"><img src="https://images.hive.blog/64x128/https://i.imgur.com/syBpvGO.png"></a></td><td><a href="/hive-106258/@hivebuzz/hivefest7-shop">HiveFest⁷ badges available at the HiveBuzz store</a></td></tr><tr><td><a href="/hive-106258/@hivebuzz/hivefest-2022-badge"><img src="https://images.hive.blog/64x128/https://i.imgur.com/AVnKFdq.png"></a></td><td><a href="/hive-106258/@hivebuzz/hivefest-2022-badge">HiveFest⁷ meetup in Amsterdam is next week. Be part of it and get your badge.</a></td></tr></table>

###### Support the HiveBuzz project. [Vote](https://hivesigner.com/sign/update_proposal_votes?proposal_ids=%5B%22199%22%5D&approve=true) for [our proposal](https://peakd.com/me/proposals/199)!
properties (22)
authorhivebuzz
permlinknotify-kushyzee-20220912t040907
categoryhive-169321
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2022-09-12 04:09:06
last_update2022-09-12 04:09:06
depth1
children0
last_payout2022-09-19 04:09:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,405
author_reputation370,063,098,436,643
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,538,164
net_rshares0
@jane1289 ·
You are so good at programming... One day, I won't wonder if you'll create a program for Hive chain too haha.
 
πŸ‘  , , ,
properties (23)
authorjane1289
permlinkre-kushyzee-2022912t14225853z
categoryhive-169321
json_metadata{"tags":["hive-169321","pob","neoxian","stem","hivelearners","vyb","hive","palnet","css"],"app":"ecency/3.0.26-vision","format":"markdown+html"}
created2022-09-12 06:23:00
last_update2022-09-12 06:23:00
depth1
children3
last_payout2022-09-19 06:23:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length111
author_reputation580,392,952,951,770
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,540,408
net_rshares1,855,209,425
author_curate_reward""
vote details (4)
@kushyzee ·
I have been thinking about that lately and I will probably create something for hive later in the future 😁 Thank you Ate
πŸ‘  , , ,
properties (23)
authorkushyzee
permlinkre-jane1289-2022912t74525312z
categoryhive-169321
json_metadata{"tags":["hive-169321","pob","neoxian","stem","hivelearners","vyb","hive","palnet","css"],"app":"ecency/3.0.33-mobile","format":"markdown+html"}
created2022-09-12 06:45:27
last_update2022-09-12 06:45:27
depth2
children2
last_payout2022-09-19 06:45:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length120
author_reputation91,879,023,731,471
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,540,747
net_rshares1,850,583,732
author_curate_reward""
vote details (4)
@jane1289 ·
Nice.. Looking forward hehe. !PIZZA
πŸ‘  , , ,
properties (23)
authorjane1289
permlinkre-kushyzee-2022912t153710332z
categoryhive-169321
json_metadata{"tags":["hive-169321","pob","neoxian","stem","hivelearners","vyb","hive","palnet","css"],"app":"ecency/3.0.26-vision","format":"markdown+html"}
created2022-09-12 07:37:12
last_update2022-09-12 07:37:12
depth3
children1
last_payout2022-09-19 07:37:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length35
author_reputation580,392,952,951,770
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,541,475
net_rshares1,852,910,452
author_curate_reward""
vote details (4)
@lemouth ·
I really enjoyed the "<i>hover trick</i>" that you presented at the end of this blog. It looks like magic, and is so easy to implement. Damned, I am so old-school when it comes to HTML/CSS and web programing in general... I have the knowledge of the 90ies, which is pretty out-dated today... ;)
properties (22)
authorlemouth
permlinkri6u2o
categoryhive-169321
json_metadata{"app":"hiveblog/0.1"}
created2022-09-14 07:01:03
last_update2022-09-14 07:01:03
depth1
children2
last_payout2022-09-21 07:01:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length294
author_reputation338,012,771,387,953
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,603,755
net_rshares0
@kushyzee ·
Knowledge of the 90ies are the foundation of all we have today, I'm pretty sure you won't have a hard time understanding and using modern day web programming trends if you want to 😊
properties (22)
authorkushyzee
permlinkre-lemouth-2022914t81534188z
categoryhive-169321
json_metadata{"tags":["ecency"],"app":"ecency/3.0.33-mobile","format":"markdown+html"}
created2022-09-14 07:15:36
last_update2022-09-14 07:15:36
depth2
children1
last_payout2022-09-21 07:15:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length181
author_reputation91,879,023,731,471
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,604,027
net_rshares0
@lemouth ·
I agree. it is more a matter of having the time to dedicate to it (which I currently don't have).
properties (22)
authorlemouth
permlinkri7uqf
categoryhive-169321
json_metadata{"app":"hiveblog/0.1"}
created2022-09-14 20:11:03
last_update2022-09-14 20:11:03
depth3
children0
last_payout2022-09-21 20:11:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length97
author_reputation338,012,771,387,953
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,621,011
net_rshares0
@pizzabot · (edited)
RE: Three new CSS properties: hit or miss?
<center>PIZZA! PIZZA! 


PIZZA Holders sent <strong>$PIZZA</strong> tips in this post's comments:
@elianaicgomes<sub>(3/15)</sub> tipped @kushyzee (x1)
jane1289 tipped kushyzee (x1)


<sub>Learn more at https://hive.pizza.</sub></center>
properties (22)
authorpizzabot
permlinkre-three-new-css-properties-hit-20220912t073814z
categoryhive-169321
json_metadata"{"app": "beem/0.24.19"}"
created2022-09-12 07:38:15
last_update2022-09-12 17:55:03
depth1
children0
last_payout2022-09-19 07:38:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length237
author_reputation7,801,222,817,388
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,541,485
net_rshares0
@poshtoken ·
$0.03
https://twitter.com/kushyzeena/status/1569278072024895488
<sub> The rewards earned on this comment will go directly to the people( @kushyzee ) sharing the post on Twitter as long as they are registered with @poshtoken. Sign up at https://hiveposh.com.</sub>
πŸ‘  
properties (23)
authorposhtoken
permlinkre-kushyzee-three-new-css-properties-hit11667
categoryhive-169321
json_metadata"{"app":"Poshtoken 0.0.1","payoutToUser":["kushyzee"]}"
created2022-09-12 10:54:54
last_update2022-09-12 10:54:54
depth1
children0
last_payout2022-09-19 10:54:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.025 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length258
author_reputation5,911,478,671,517,636
root_title"Three new CSS properties: hit or miss?"
beneficiaries
0.
accountreward.app
weight10,000
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id116,544,628
net_rshares73,112,983,102
author_curate_reward""
vote details (1)
@starstrings01 ·
> you know what, we are no longer increasing the size of the box, so cancel that and just use this current declaration which is to rotate it by 10deg".

you did not get this statement well.

it should have been, you know what, a new order has been given from above that we should not just increase the size but let's turn the boat sideways.

because looking at the box2, the box is still enlarged and the previous command was not really overwritten but another command was added to it.

Awesome properties man! In some months time, I hope to come back working with HTML and Css again. Been a while since I used it or tried building the frontend of a website.

properties (22)
authorstarstrings01
permlinkre-kushyzee-ri5v8t
categoryhive-169321
json_metadata{"tags":["hive-169321"],"app":"peakd/2022.07.1"}
created2022-09-13 18:26:57
last_update2022-09-13 18:26:57
depth1
children2
last_payout2022-09-20 18:26:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length660
author_reputation942,772,071,833,290
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,589,094
net_rshares0
@kushyzee ·
``` css
.two:hover {
transform: rotate(10deg);
}
```

This was the code I was explaining when I made that statement. If you look at the picture, you will see that the box actually shrunk down to its default size when I hovered over it. But when I added `scale(1.5)` to the code, the box increased and rotates when I hover (which is exactly what you explained)
properties (22)
authorkushyzee
permlinkre-starstrings01-2022913t193727764z
categoryhive-169321
json_metadata{"tags":["hive-169321"],"app":"ecency/3.0.33-mobile","format":"markdown+html"}
created2022-09-13 18:37:30
last_update2022-09-13 18:37:30
depth2
children1
last_payout2022-09-20 18:37:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length359
author_reputation91,879,023,731,471
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,589,423
net_rshares0
@starstrings01 ·
My bad, I didn't look at the image well.. Yeah the size actually reduced... 
properties (22)
authorstarstrings01
permlinkre-kushyzee-2022913t20930307z
categoryhive-169321
json_metadata{"tags":["hive-169321"],"app":"ecency/3.0.26-vision","format":"markdown+html"}
created2022-09-13 19:09:33
last_update2022-09-13 19:09:33
depth3
children0
last_payout2022-09-20 19:09:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length76
author_reputation942,772,071,833,290
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,590,473
net_rshares0
@stemsocial ·
re-kushyzee-three-new-css-properties-hit-20220912t165057449z
<div class='text-justify'> <div class='pull-left'>
 <img src='https://stem.openhive.network/images/stemsocialsupport7.png'> </div>

Thanks for your contribution to the <a href='/trending/hive-196387'>STEMsocial community</a>. Feel free to join us on <a href='https://discord.gg/9c7pKVD'>discord</a> to get to know the rest of us!

Please consider delegating to the @stemsocial account (85% of the curation rewards are returned).

You may also include @stemsocial as a beneficiary of the rewards of this post to get a stronger support.&nbsp;<br />&nbsp;<br />
</div>
properties (22)
authorstemsocial
permlinkre-kushyzee-three-new-css-properties-hit-20220912t165057449z
categoryhive-169321
json_metadata{"app":"STEMsocial"}
created2022-09-12 16:50:57
last_update2022-09-12 16:50:57
depth1
children0
last_payout2022-09-19 16:50:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length565
author_reputation22,933,079,831,358
root_title"Three new CSS properties: hit or miss?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id116,554,178
net_rshares0